I'm trying to modify various grid settings based on other events on the form, such as changing data source, column visibility, etc. The one that has me stumped is changing the edit settings. I've tried this:
var grid = $("#GridContainer").data("ejGrid");
grid.model.editSettings.allowDeleting == false;
grid.model.toolbarSettings.toolbarItems = ["add", "edit", "update", "cancel", "responsiveSorting"];
but the toolbar delete button doesn't go away. Any suggestions? Thanks in advance!
brian