Starting with version 2025.2.520, the toolbar tools like "Save changes" and "Cancel changes" are hidden by default. When the ShowInactiveTools(true) option is set, the inactive tools are displayed as disabled until a change in the Grid's data is made (for example, the tools are active when the edited cell is closed).
Is it possible to create an option that enables the previous behavior of the inactive toolbar tools - to keep the tools always active and visible no matter if there is a change or not?
For example:
.ToolBar(toolbar =>toolbar
.Items(itm =>
{
itm.Create();
itm.Save();
})
.EnableInactiveTools(true)
)
Hi,
This behavior was unified across all web Products and the buttons are now hidden by default:
https://www.telerik.com/aspnet-core-ui/documentation/backwards-compatibility/2025-backwards-compatibility#toolbar-buttons-in-grid
To enable them back please use this property:
.ShowInactiveTools(true)
As a workaround you can use:
.Events(events => events.SaveChanges("enableButtons").DataBound("enableButtons"))<script>
function enableButtons(e){
setTimeout(function(){
e.sender.element.find(".k-grid-toolbar .k-grid-save-changes")
.data().kendoButton.enable();
e.sender.element.find(".k-grid-toolbar .k-grid-cancel-changes")
.data().kendoButton.enable(true);
});
}
</script>Excuse us for the inconvenience this breaking change has caused you and thank you for sharing your feedback. I have added a Vote for Peter's account to have this provided built-in.
Regards,
Eyup
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.
We have a scenario where items are added via the underlying data source and the "save changes" and "cancel" buttons don't appear. The workaround via telerik support is somewhat onerous as it involves manually changing the css class to enable these buttons.
Ideally the buttons would show when there are unpersisted changes in the underlying data source, but in lieu of that, this feature would make be enough.