hi,
we have one grid with multiple check boxes and rendered in a popup, when loading first time the checkboxes are displayed properly,
if we open the popup 2nd time onwards the check boxes are displaying in intermediate state
what I observed is
code snippet is like:
$(“#” + gridId).on(“bindingcomplete”, function () {
if (somecondition) {
$(“#” + gridId).jqxGrid(‘setcellvalue’, boundindex, ‘isselected’, 1);
} else {
$(“#” + gridId).jqxGrid(‘setcellvalue’, boundindex, ‘isselected’, 0);
}
}
In the above code we are setting the value for a check boxes,
each and every time we are intilizing the grid when opening a popup,
when I load the grid firsttime the “bindingcomplete” event is calling and its rendering the grid properly, from 2nd time onwards if we reload the grid the “bindingcomplete” event is not calling, because of that the checkboxes is coming in a Intermediate state
1) Is there anyway we can remove the intermediate-checkbox state from the grid
or
2) how the “bindingcomplete” event should happen every time when we reload the grid
Thanks In Advance:)