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
285
Reset layout of UltraGrid back to DesignTime layout
posted

Is there any way how can I reset changes from end-user in UltraGrid layout (sorting, column order, column visibility) to the the original layout settings defined during design-time of the form.

Thanks

Parents
  • 4219
    posted

    Hi,
    If you want to preserve the original layout, you can save it as xml like this:
     this.ultraGrid1.DisplayLayout.SaveAsXml("WinGridLayout.xml");
    and when needed to restore the layout, you can load it from the xml file:
      this.ultraGrid1.DisplayLayout.LoadFromXml("WinGridLayout.xml");

    Stefaniya

     

    Developer Support Engineer

    Infragistics, Inc

     

    http://ko.infragistics.com/support

     

Reply Children
No Data