There are four columns in the ultragrid,the third column is button Column and the column key is Button,all the columns key is UnitCode,UnitName,Button,Remark,I have below two questions,1.How to set the button column's appearance of the ultragrid2.when clicking the button column I want to show a message, in which event to write the code?
Many thanks
1-ultraGrid1.DisplayLayout.Bands[0].Columns[0].CellButtonAppearance
u can use :
ultraGrid1.DisplayLayout.Bands[0].Columns[0].Style = Infragistics.Win.UltraWinGrid.
ColumnStyle.Button;
ultraGrid1.DisplayLayout.Bands[0].Columns[0].ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.
ButtonDisplayStyle.Always;
2- use the event :
ClickCellButton