Add a custom button in grid toolbar, why so complicated?

1 Answer 73 Views
Grid
serge
Top achievements
Rank 2
Bronze
Iron
Iron
serge asked on 04 Aug 2023, 12:16 AM

I have the code

.ToolBar(toolbar => {
toolbar.Create();
toolbar.Excel();

toolbar.ClientTemplate(@<text>???

 

 

why is that complicated to add a new control, like a custom dropdown?

why should we build the create button manually if we use template?

also search, we should createa search button manually, there is no sense

 

serge
Top achievements
Rank 2
Bronze
Iron
Iron
commented on 04 Aug 2023, 12:17 AM

your forum editor, as you can see, is completely buggy, impossible to reset the text formatting after a copy-paste from Visual Studio Code...

1 Answer, 1 is accepted

Sort by
0
Aleksandar
Telerik team
answered on 08 Aug 2023, 01:04 PM

Hello Serge, 

This is indeed a valid point. I have added a Feature Request on your behalf to expose such a configuration. Feel free to add anything I might have missed to the item. 

Until the item is implemented the approach to customize the Grid's ToolBar is still the one suggested in the answer to the initial question and as demonstrated in the Grid's ToolBar Template Demo.

Let me know if I can be of any additional help.

Regards,
Aleksandar
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages. If you're new to the Telerik family, be sure to check out our getting started resources, as well as the only REPL playground for creating, saving, running, and sharing server-side code.
Tags
Grid
Asked by
serge
Top achievements
Rank 2
Bronze
Iron
Iron
Answers by
Aleksandar
Telerik team
Share this question
or