Hello!
I have the 7.1 webgrid bound to a database and virtual LoadOnDemand. If i scroll down and try to delete a row by the delete-key, a unhandled exception is thrown in the javascript generated by the grid at this position:
function igtbl_deleteSelRows(gn){ var gs=igtbl_getGridById(gn); var ar=gs.getActiveRow(); if (ar && ar.IsAddNewRow) return; var del=false; if(igtbl_inEditMode(gn)) { igtbl_hideEdit(gn); if(igtbl_inEditMode(gn)) return; } if(gs.Node) { var arOffs=ar?ar.getIndex():0; gs.isDeletingSelected=true; var arr=igtbl_sortRowIdsByClctn(gs.SelectedRows); for(var i=0;i<arr.length;i++) { var row=gs.getRowByLevel(arr); if(row.deleteRow()) {
The row - object at this point is null because there is no row at the position "arr.
This problem only occurs, if i want to delete a row with an index greater than the "UltraWebGrid.DisplayLayout.rowsRange".
Any suggestions?
If you're using the RTM version, you may want to check and see if a hotfix is available. Also, are you databinding yourslef, or are you connected to a SQLDataSource? It's probably a good idea to report this to our Developer Support team as well, so they can check if this is a known issue.
I just updated to version 7.1.20071.1055 - no difference.
I tried it with a SQLDataSource and a dataTable.
And I also reported it to the Developer Support.