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

Batch Editing and Drop Down

1 Answer 158 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 1
Peter asked on 13 Apr 2015, 08:54 AM

Two questions:

  1. Is it possible to not require a click to use Batch Editing - e.g. Grid is always in edit mode? 
  2. How do I insert an empty item into a GridDropDownColumn in batch mode? 

Thanks.​

1 Answer, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 16 Apr 2015, 06:58 AM
Hi Peter,

Note that Batch Editing is working differently that other edit modes. By default only one editor is used per column when Batch Editing is enabled. Thus, having all rows in edit mode simultaneously is not available out of the box.

You could use GridTemplateColumns and make RadGrid look like it is in edit mode. For example you can place TextBox control in the ItemTemplate. Have in mind that if you use this approach you should use JavaScript to place a cell in edit mode when the corresponding TextBox is focused.

If you would like to have and empty item in a dropdown for a GridDropDownColumn you need to set the EnableEmptyListItem property of the column to true. In addition you can set the text of the empty item via the EmptyListItemText property.

Regards,
Viktor Tachev
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

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