Hi
How Delete to row in webdatagrid in client side
Previous ultrawebgrid we follow this format
for (i = 0; i < oRows.get_length() ; i++) { igtbl_deleteRow(ClientID + "UsrNfHazmat1_GridPFExpos", oRows.Rows.rows[i].Id); i = i - 1;
}
Its not Support in webdatagrid
Hello Kartnik,
To delete a webdatagrid row on client you may use the following:
Code snippet:
var grid = $find("WebDataGrid1");
grid.get_rows().remove(grid.get_rows().get_row(0));
In order to have this work you need to enable the RowDeleting and Selection behaviors of the grid. You may find this helpful:
http://help.infragistics.com/Help/Doc/ASPNET/2014.1/CLR4.0/html/WebDataGrid_Enabling_Row_Deleting.html
Please let me know if this helps.
Its Not working any other code for Delete row in webdatagrid
In Previous Ultrawebgrid used igtbl_deleteRow(ClientID + "UsrNfHazmat1_GridPFExpos", oRows.Rows.rows[i].Id