This is a migrated thread and some comments may be shown as answers.

Treelist persist state

1 Answer 172 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
jamana
Top achievements
Rank 1
Veteran
jamana asked on 19 May 2020, 06:05 PM

Hi,

I am trying to save and restore settings of table header in kendo treelist. Is there a way to persist treelist as we can do in Knedo Grid (below link shows the example how to persist grid)?

https://demos.telerik.com/kendo-ui/grid/persist-state

 

As we dont have getOptions and setOptions in Kendo treelist, how can we achieve this feature?

Thanks,

Ramesh

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 21 May 2020, 01:14 PM

Hello Jamana,

I have prepared a demo demonstrating how to persist the order of the columns in a TreeList. The approach saves the TreeList column order within the local storage on click of the  "Save" button. The same are loaded on "Load" button click.

Additionally, implementing getOptions and setOptions methods for the TreeList have been logged as a future request. In the link below you can upvote for it and track its progress. The most desirable requests are usually included in the RoadMap.

Regards,
Nikolay
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
TreeList
Asked by
jamana
Top achievements
Rank 1
Veteran
Answers by
Nikolay
Telerik team
Share this question
or