Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
955
about the button columns of the ultragrid (in winForm)
posted


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 ultragrid
2.when clicking the button column I want to show a message, in which event to write the code?

Many thanks

  • 5520
    Verified Answer
    posted

    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