On my WebDataGrid I am adding and deleting rows by JS. When I delete rows the RowNumbering didnt updated.
this is how I delete rows:
var gridDel = $find(gridName); var row = gridDel.get_behaviors().get_selection().get_selectedRows().getItem(0); gridDel.get_rows().remove(row);
How I can update RowNumbering by JS?
Hello Anton,
I’m just following up to see if you’ve been able to resolve your issue. If you have any questions or concerns or if you need further assistance please let me know.
Best Regards,
Maya Kirova
Developer Support Engineer
Infragistics, Inc.
http://ko.infragistics.com/support
Thank you for posting in our forum.
I’ve tested this on my side and it seems that the row numbering is updated as expected after you delete the row and the change is committed to the server side.
Please refer to the attached sample. For example if you delete the first row then the RowNumbering will be recalculated and the row numbering will again start from 1 as it would be expected.
Let me know if this is what you’re trying to achieve or if you’re after a different behavior.
Developer Support Engineer II