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. radGridView1.DataSource = Adapter.Show columnname (Master Tab 1. Header Grid.ContentV.Kel [0]. Value.tostring ()); RadGridView1.Columns.Add (New GridViewCheckBoxColumn ());

This code displays the checkbox before and after the data columns.

Enter image details here

< 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 .showColumnNames (masterTab1.HeaderGrid.CurrentRow.Cells [0] .Value.ToString ()); RadGridView1.Column.Insert (1, New GridViewCheckBoxColumn ());    

Comments

Popular posts from this blog

python - how we can use ajax() in views.py in django? -

matlab - Using loops to get multiple values into a cell -

python - Sequence Pattern recognition with Pybrain -