Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
85
saving and loading a custom wegrid layout
posted

Hi,

With the windows ultragrid there is a method to save and load the displaylayout that work like this:

 

    this.DisplayLayout.LoadFromXml( fs, PropertyCategories.All );
            this.DisplayLayout.SaveAsXml( fs, PropertyCategories.All );
 

 What is the equivalent way of doing this with the webgrid? Basically I need to give the users of the web application I'm developing the ablity to show/hide columns in a grid, group and sort as they please, and then save off those settings so that they next time they load the grid the contents will be display layout will be the same.