I have a checkbox column on a row to toggle Delete and Undelete. After a row is deleted (has the class 'ui-iggrid-deletedrecord' applied), all columns on the row become readonly (not editable). How can I enable that column again to undelete the row?
Hello Erica,
Please do not hesitate to contact us if you have any further questions regarding this matter.
Hi Erica,
you can achieve this behavior using the rollback method of the igGrid. You can find more information in the online documentation -> http://help.infragistics.com/jQuery/2012.2/ui.iggrid > METHODS > rollback.
Here is the Code Sample:
$(".selector").igGrid("rollback", 5, true);
You can have a look at this sample also - http://ko.infragistics.com/products/jquery/sample/grid/rest-editing
It shows how to rollback all the changes made in the grid.
function rollbackChanges() { $("#grid1").igGrid("rollback");
I hope it helps.
Thank you for using Infragistics products!
Regards,
Alexander Marinov - Associate Software Engineer in Test