I need to make a row read only based on,changing the cell value of the corresponding row using jQuery.I am using angular IgGrid(Infragistics).
Asked
Active
Viewed 542 times
1 Answers
0
You can handle the editCellEnded
event of the igGridUpdating
, and apply ui-state-disabled
class to the row based on the value of the cell.
$(".selector").igGrid({
features : [
{
name : "Updating",
editCellEnded: function(evt, ui){
if (ui.value === valueToDisabledOn) {
$(".selector").igGrid("rowById", ui.rowID)
.addClass("ui-state-disabled");
}
}
}
]
});

Konstantin Dinev
- 34,219
- 14
- 75
- 100