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.
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.