Hi
ultraGrid1.DisplayLayout.Bands[0].Columns["followUp"].Style = Infragistics.Win.UltraWinGrid.ColumnStyle.EditButton;
and i want to set text "..." on this this edir button. I did not find any way to do this. CellButtonAppearance just provides appearance settings color, font and alignments etc.
Regards
Asad Naeem
Sorry, it's CellButtonAppearance and it's on the UltraGridColumn.
private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e) { e.Layout.Bands[0].Columns[0].CellButtonAppearance.Image = myImage; }
Hi,
To use possibility 1), where can I find the ButtonAppearance of the column Button?
RegardsFranz-Richard
Thanks a lot Mike. So nice of you. I solved my confusion.
Hi Asad,
The button provided by setting the Style of the column to EditButton doesn't support text. So you could do what you want in one of two ways:
1) Use an image on the ButtonAppearance.
2) Use an editor. Place an UltraTextEditor on the form and use the ButtonsRight collection to add an EditorButton. Then you can assign text to the button. Set the column's EditorControl to the UltraTextEditor control to put it into the grid.