Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
960
Refresh grid after programatically calling 'deleteRow'
posted

Hi, this has to be an easy one, but I can't figure it out.

I have a grid, and other buttons or popup screens will make changes to the grid, so the updates are all done programatically. When I call

$("#igGrid").igGridUpdating('addRow', row);

the grid updates fine. But when I call

$("#igGrid").igGridUpdating('deleteRow', rowId);

the row goes italic and strikethrough. I just want the row to disappear. If other operations cause more additions and deletions I get lots of these strikethrough rows.

This grid DOES have autocommit=true, and its not bound to any server side object or anything. On another screen I've used :

$("#igGrid"+category).igGrid("widget").igGrid("dataBind");

to 'refresh' that grid, but in this case it produces an error :

Error: There was an error parsing the array data and applying the defined data schema: data is null

How do I get my grid to actually delete a row when I code 'deleteRow'?

Parents Reply Children
No Data