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
1284
DisplayLayout.SaveAsXML - UltraGridColumn Node Missing
posted

Hi

  I am using Ultrawingrid.Displaylayout.SavaAsXML method to save the layout of the Grid.

there is a node called "UltraGridCilumn" in the XML file. This node is missing is the XML for some grids.

when i Call DisplayLayout.LoadFromXML method column changes like width,Position are not retained.

It is working fine for other grids which has this node information in the XML.

 <a1:UltraGridColumn id="ref-38" xmlns:a1="http://schemas.microsoft.com/clr/nsassem/Infragistics.Win.UltraWinGrid/Infragistics2.Win.UltraWinGrid.v8.1">

<CharacterCasing>1</CharacterCasing>

<CellAppearanceHolder href="#ref-60" />

<Header href="#ref-61" />

<Key id="ref-62">DistId</Key>

<Width>561</Width>

<IsBound>true</IsBound>

</a1:UltraGridColumn>

 

Thanks

Ashok

Parents
  • 1284
    posted

    Hi

       Sorry . I found the problem. Datasource is nothing at the time of calling SavaAsXML method.

    I just want to save the Layout before Datasource becomes nothing.

    How to check if datasource of the grid is going to be nothing.

    Is there any event like BeforeColPosChanged to handle the datasource Change?

    I want to save the layout just before the Datasource is changed.

     

    Thanks

    Ashok

     

Reply Children
No Data