79746122

Date: 2025-08-25 19:37:32
Score: 1
Natty:
Report link

There is a fix for grid.setOptions so that it doesn't drop your toolbar customizations.

Just detach the toolbar before setOptions and then re-apply it afterwards.

 toolBar = $("#" + GridName + " .k-grid-toolbar").detach();
 grid.setOptions(options);
 $("#" + GridName + " .k-grid-toolbar").replaceWith(toolBar);
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Darron Michael