Closed ymita closed 6 years ago
addRow
and deleteRow
in IgGridBase are different from addRow
and deleteRow
in IgGridUpdatingFeature. Methods in IgGridBase are part of the data binding capabilities of the grids and are used when changes into the data source are detected. If you want to use the updating functionality you should use the methods from IgGridUpdatingFeature.
@ymita If you have further questions, please re-open the issue
@dkamburov
Calling deleteRow from IgGridUpdating throws an undefined error. Is this the expected way to call deleteRow? The attached is the sample that I am working on my end.
myClick() {
this.hgrid1.featuresList.updating.deleteRow(0);
}
This is is getting resolved with issue #257, unfortunately there is no recently tagged version so the fix is not publicly available.
Resolved in 6.0.0 version hierarchicalGrid.zip
@dkamburov thank you for letting me know. I confirm it is fixed.
Description
addRow and deleteRow method are unexpectedly defined in IgGridBase class.
Steps to reproduce
Result
addRow and deleteRow are defined.
Expected result
addRow and deleteRow are not defined as these methods are already defined in IgGridUpdatingFeature class.