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
20
Fields Chooser to show field according to the column order in grid
posted

Hi,

I've seen a sample in the SamplesExplorer and found that from the sample image, the fields in Field Chooser able to be shown according to the column order (left to right) in the grid. Any idea how to do it? I've tried many ways but the fields kept being sorted in alphabetically order. Thanks

Parents
No Data
Reply
  • 12333
    posted

    You can try to get to the Column object in the Column Chooser by using the following code to change its Visible Position:

     

                // Set the VisiblePosition to 0. We want the customer id column to be the first column.            
    this.ColChooser1.DisplayLayout.Bands[0].Columns["CustomerID"].Header.VisiblePosition = 0;
Children
No Data