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

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -