Is it possible to change the layout using drag and drop in the splitter?

0 Answers 70 Views
Splitter
finalf
Top achievements
Rank 1
finalf asked on 11 Jan 2023, 07:42 AM
I want to change the order of the splitter by drag and drop and save the layout to the db.
Petar
Telerik team
commented on 13 Jan 2023, 02:18 PM

Hi, Jieun.

You can use Splitter's Change event to track the changes made in the component's layout. In the object available in the event handler, you will find the sizes of the different panes and these values can be stored in your database. 

Here is an example in which every time the Splitter's panes are updated, the new panes' state is printed in the console.

Please check the example and let me know if it helps you achieve what you need in your application.

No answers yet. Maybe you can help?

Tags
Splitter
Asked by
finalf
Top achievements
Rank 1
Share this question
or