With virtualization set to False in "continuous" mode, adding "ui-iggrid-deletedrecord" class to the selected row will have the deleting styles (italic and cross-line) stayed. However, my code to set a selected row for deletion below does not take effect when virtualization set to True. Any idea?
mySelectedRow.element.addClass("ui-iggrid-deletedrecord");
Thanks!
hi Erica,
It works for me. Maybe it's some edge case or you are doing something wrong.
Can you check the element returned by mySelectedRow.element? Adding a class to it with jQuery should not be a problem.
It will be very helpful, if you attach a sample that reproduces the issue.
Regards
Lyubo
After a further investigation, the problem happens before or after a setCellValue() function is called. Attached sample is the actual scenario (checking/unchecking a checkbox for delete/undelete) that I need to achieve.
setCellValue and addClass("ui-iggrid-deletedrecord") can co-exist without problem when virtualization is set to False.