You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to clear the array in 1 command. As of today I can loop on all rows and call deleteRow()
the problem is each delete row does an this.dataChange.emit(); and this is badly impacting my preformances.
I wonder if a clearRow(index: number) would be a good approch, as it can clear all rows if an index= 0 is provided then all the array is cleared. It then will only emit 1 event.
clearRow(index: number) {
// index = 0 means clear all the array
//....... needed cleanup
this.dataChange.emit();
}
this a feature request (new function in a modal)
Is this issue related to a specific component? NO
What did you expect to happen? What happened instead? What would you like to see changed? see my comments
What browser are you working in? Firefox but this is not browser related
What version of the Carbon Design System are you using? This is a feature request
What offering/product do you work on? Any pressing ship or release dates we should be aware of?
Detailed description
I need to clear the array in 1 command. As of today I can loop on all rows and call deleteRow()
the problem is each delete row does an this.dataChange.emit(); and this is badly impacting my preformances.
I wonder if a clearRow(index: number) would be a good approch, as it can clear all rows if an index= 0 is provided then all the array is cleared. It then will only emit 1 event.
clearRow(index: number) {
// index = 0 means clear all the array
//....... needed cleanup
this.dataChange.emit();
}
Steps to reproduce the issue
see https://ibm-systems-storage.slack.com/archives/CBZC0LM2N/p1727170729354599
The text was updated successfully, but these errors were encountered: