Skip to content

Clear nested grid after selection change in master-master grid

PROBLEM:

Is there a way to clear the content of nested grid when I change selection on the main master grid. At this moment it is displaying data from completly different case, which is a bit misleading.

SOLUTION:

You can use the following js to grid. 
$("#tablename").jqGrid("clearGridData");

So you can attach an event listner to select row event in master grid that calls the above line. 


Feedback and Knowledge Base