I have a task to keep all default grid toolbar items, but to add 2 new buttons and one drop-down list. I do not want to write again standard toolbar items with all their behavoir.
In your documentation I found that it is possible to mix standard and custom items this way:
private List<Object> Toolbaritems = new List<Object>() { "Add", "Edit", "Delete", "Update", "Cancel", new ItemModel() { Text = "Click", TooltipText = "Click", PrefixIcon = "e-click", Id = "Click" } };
I studied ItemModel properties and found Template. Could you make a sample of using Template for one custom toolbar element? For example with DropDownList inside?
All standard toolbar items should be saved.