This is a migrated thread and some comments may be shown as answers.

display a GridBoundColumn only in EditMode

1 Answer 75 Views
Grid
This is a migrated thread and some comments may be shown as answers.
bo
Top achievements
Rank 1
bo asked on 21 Jan 2009, 08:03 PM
i've got a grid with 15 GridBoundColumns.  i only want to display 5 of them in read mode, but all of them in editmode.

how can i do this?

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 22 Jan 2009, 04:14 AM
Hi,

Set the Display property of columns to false which you want to hide in read mode so that those columns will appear only in edit mode.

ASPX:
</telerik:GridClientSelectColumn> 
<telerik:GridBoundColumn DataField="ProductID" DataType="System.Int32" Display="false" HeaderText="ProductID" SortExpression="ProductID" UniqueName="ProductID"
</telerik:GridBoundColumn> 


Thanks,
Shinu.
Tags
Grid
Asked by
bo
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or