Enable / disable individual toolbar buttons
This article is deprecated
This article is deprecated as the feature has been implemented. Please see gd.toolbar.disable property for details
I know this topic has been discussed a lot among Table Grid Editor users but I still want to know if this feature has a workaround or anything like that? For example, I would want to disable the Add Multiple Rows, Clear All Duplicates, Clear All Not Modified and Clear All Data buttons. is there a possibility to get this done
Feature Request
We hava a feature request to implement this behaviour as a grid property
https://tablegrid.atlassian.net/browse/IGRID-3243
Workaround
Configure the announcement banner with following tag (how?)
As a workaround, you might add a style tag to your announcement banner
'customfield_12670' below should be replaced with the customfield id of your grid, where you would like to disable the buttons
<style type="text/css">
#refresh_customfield_12670_grid { display:none; }
#customfield_12670_grid_cmb_add { display:none; }
#customfield_12670_grid_cmb_duplicate { display:none; }
#customfield_12670_grid_cmb_clearall { display:none; }
#customfield_12670_grid_cmb_modified { display:none; }
#customfield_12670_grid_cmb_allduplicates { display:none; }
</style>