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

How to display different fields in EditForm than in Table

2 Answers 48 Views
Grid
This is a migrated thread and some comments may be shown as answers.
King Wilder
Top achievements
Rank 2
King Wilder asked on 13 Aug 2009, 12:50 AM
I have a little problem, I have a Grid that is populated with some of the columns from the Customer table, because if all the columns were displayed in the Grid it would continue off the page.  So I've removed un-important columns in the grid to make it fit on the page.

But I want to be able to edit inline using the EditForm mode and display ALL the entity fields.

Is there a built-in way of doing this?  I've looked in the documentation and I can't tell if it's answered there.  Do I need to write some code to make this work?

Any help would be appreciated.

Thanks,

King Wilder

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 13 Aug 2009, 05:21 AM
Hello King Wilder,

You actually do not need to remove the un-important columns from the grid but you can set the Visible property of the columns to false, so that the column is hidden in the view mode of the grid and displayed during edit mode.
aspx:
<telerik:GridBoundColumn DataField="CustomerID" Visible="false"  
HeaderText="Customer ID" UniqueName="CustomerID"
</telerik:GridBoundColumn> 

Thanks
Princy.
0
King Wilder
Top achievements
Rank 2
answered on 13 Aug 2009, 04:18 PM
You know, I probably should have figured that out, since I have made the ID column invisible in the grid.  I just didn't realize the edit form could have different settings.

Thanks.
Tags
Grid
Asked by
King Wilder
Top achievements
Rank 2
Answers by
Princy
Top achievements
Rank 2
King Wilder
Top achievements
Rank 2
Share this question
or