We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Refresh Layout triggered event

Hello,
 
I have a button that enables me to save a layout and reset to default.
 
By saving layout I mean, re-arranging columns and saving that order.
 
I want to be able to reset layout to the initial default state (specified in a GridConfig) by deleting the settings saved when custom layout was saved.
 
After that I would like to perform a grid layout refresh. How can this be achieved? When I do
 
this.Refresh()
 
or GroupingControlGridComponent.Refresh()
 
or GroupingControlGridComponent.TableControl. Refresh()

 

 nothing happens when it should re-arrange the columns to default order.
 
Any help will be much appreciated.
 
Kind Regards

1 Reply

AS Athiram S Syncfusion Team February 25, 2013 12:19 AM UTC

Hi Gaukar,

Thanks for your interest in Syncfusion Products.

You cam make use of  "Gridgroupingcontrol.ResetTableDescriptor()" in order to reset the layout to original structure.

Regards,
Athiram S

Loader.
Live Chat Icon For mobile
Up arrow icon