I have one requirement
i am displaying 12 months in grid, and i have one text box and button
when they type april and click button grid should reorder from april to march
3 Answers, 1 is accepted
answered on 16 May 2013, 09:11 AM
To reorder the columns programatically you should use the reorderColumn method of the Grid. It accepts as a parameters the new index of the column and the actual column object from the grid.columns array.
Please let me know if this was the information that you were looking for. Wish you a great day.
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
reoderColumn work for only one column but if I want to reorder sevelral columns it doesn't work.
I'd like to display a grid with the memorised columns order of the user and reorderColumn is not OK.
answered on 01 Feb 2019, 12:02 PM
If you would like to persist the settings of the Grid I would suggest utilizing the getOptions and setOptions methods. Check out the example below that illustrates how the grid settings can be persisted and restored.