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
Thank hady for your help!
How to set the button column's appearance? For example,the button appearance is 3D or Flat
I cant find a property for that, i think you will have to do it manually by setting the back color and border color in the appearance
Thanks hady!