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

setOptions available in grid

1 Answer 190 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Tracy
Top achievements
Rank 1
Tracy asked on 07 Feb 2018, 01:45 PM

Hi, is there a  method to the jQuery "setOptions" for the Kendo Angular grid? I need to allow the user to "reset" the grid to original configuration after columns have been reordered. 

 

Thanks,

1 Answer, 1 is accepted

Sort by
0
Svet
Telerik team
answered on 09 Feb 2018, 07:25 AM
Hi Tracy,

The desired behavior can be achieved using the reorderColumn method. We can bind it to a button click and reorder programmatically the columns to their initial state.

Please check the following sample plunker demonstrating this approach:

https://plnkr.co/edit/s59fYrAmCHoTrMi1wO4o?p=preview

I hope this helps. Please let me know in case you need further assistance for this case.

Regards,
Svetlin
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
General Discussions
Asked by
Tracy
Top achievements
Rank 1
Answers by
Svet
Telerik team
Share this question
or