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

What is the best edit mode for the RadGrid when AutoGenerateColumns="true"

1 Answer 83 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Vikas
Top achievements
Rank 1
Vikas asked on 03 Dec 2014, 12:05 PM
I have radgrid with all the columns populated dynamically. I want to incorporate the edit functionality to the grid for each row/cell.

I see the batch edit functionality best suits my environment. But, as I have the AutoGenerateColumns="true" I am unable to use that option.

Please suggest the other best option to add edit functionality. An example would really help.

Thanks,
Vikas

1 Answer, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 08 Dec 2014, 09:40 AM
Hi Vikas,

Using auto generated columns is supported by RadGrid in all editing modes. You can use Batch Editing when you have the AutoGenerateColumns property set to true.

Note that with Batch Editing all changes are performed initially on the client. In order to persist the changes to the data source the user needs to press the Save Changes Button.

As reference I am attaching a sample project where Batch Editing is enabled for RadGrid. Also the columns in the grid are created automatically.

Regards,
Viktor Tachev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
Vikas
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Share this question
or