How to add checkbox only in a particular column in RadGridView in c# -
I want to add the checkbox column as the second column of RadBridView. This code displays the checkbox before and after the data columns. < Div class = "post-text" itemprop = "text"> You must use the insert method. The first parameter is the zero-based index of the column, and the other is the column. Example: radGridView1.DataSource = Adapter.Show columnname (Master Tab 1. Header Grid.ContentV.Kel [0]. Value.tostring ()); RadGridView1.Columns.Add (New GridViewCheckBoxColumn ());
radGridView1.DataSource = Adapter .showColumnNames (masterTab1.HeaderGrid.CurrentRow.Cells [0] .Value.ToString ()); RadGridView1.Column.Insert (1, New GridViewCheckBoxColumn ());
Comments
Post a Comment