Hi All,
I’m using UltraWinGrid control in my window application…
I’ve added new button column to ultraWinGrid, it’s adding perfectly to ultraWinGrid.
this.uGrid_StaffApprove.DisplayLayout.Bands[0].Columns.Add("Approve", "ACTION");
this.uGrid_StaffApprove.DisplayLayout.Bands[0].Columns["Approve"].Style = Infragistics.Win.UltraWinGrid.ColumnStyle.Button;
this.uGrid_StaffApprove.Rows.Band.Columns["Approve"].ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.Always;
But the problem is the button is adding to the last column.
Just I want this “button” as first column after that remaining columns should display.
We can do it in UltraWindGrid control….
Please let me know….
Note: I’ve more than 10 columns which are binding with DataSet.
Thanks
Ateeqpasha.
this.uGrid_StaffApprove.DisplayLayout.Bands[0].Columns["Approve"].Header.VisiblePosition = 0;
Big thanks