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
605
CheckBox Column in grid
posted

i am working on a grid, i want to add a CheckBox Column in that grid to use it as a row selector

how can i do this?

thanx

Parents
  • 469350
    Verified Answer
    Offline posted


            private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e)
            {

                UltraGridColumn checkBoxColumn = e.Layout.Bands[0].Columns.Add("My CheckBox Column");
                checkBoxColumn.DataType = typeof(Boolean);
            }

Reply Children