How to change the order of columns in Ultragrid?The scenario is, I have a table bind in the datasource. Example:The DataTable in dataSource bind in the ultragrid consist of column 1, column2, column3, column4 & column 5 and my Problem is i want to add an extra columns in between column3 & column4 but the extra columns I want to add is not part of a dataTable in dataSource. When I view the table in Ultragrid the extra columns i added appeared after column5 and i want to insert the extra columns between column3 & column 4. please help. tnx
Hi gobords
i m vb.net developer i used the ultragrid and bind with some source after that at run time i change the order of column in ultra grid in this way
Me.UltraGrid1.DisplayLayout.Bands(0).Columns("name of coloumnor id is write here").Header.VisiblePosition = 4
4 is example of position you are showing you can change with your choice. i also attach the sample code.
Hope it will be helpful to you.if u need more help please visit the below link
http://ahmadkhalid44.blogspot.com/
Regards:
Ahmad Khalid
Software Engineer