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
1401
How to set the Order of the Columns in UltraWinGrid
posted

Hi,

we are facing one problem with UltraWinGrid.

1) we are using Ilist as the DataSource of the UltraWinGrid. Can you please guide how to set the order of the columns in the UltraWinGrid.

Thanks.

  • 12773
    Suggested Answer
    posted

    Hello Kumar,

    I believe that you can use VisiblePosition of the column header in order to set the position of the column. Once the DataSource is bind to the grid you can reorder the columns.


      this.ultraGridData.DisplayLayout.Bands[0].Columns["test"].Header.VisiblePosition = 0;

    I hope this information was helpful.

    Best Regards,
    Dimi
    Developer Support Engineer
    Infragistics Inc.