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

Adding New Row in Editmode

2 Answers 29 Views
Grid
This is a migrated thread and some comments may be shown as answers.
wk
Top achievements
Rank 1
wk asked on 26 Aug 2010, 03:44 AM
Hi,
I would like to put all items in edit mode without additional rebind just like the links as below:
http://www.telerik.com/help/aspnet-ajax/grdputallitemsineditmodenoadditionalrebind.html
http://demos.telerik.com/aspnet-ajax/calendar/examples/datepicker/shareddatepicker/defaultcs.aspx?product=calendar

However, I would like to add an additional "Add New" button for inserting a temporary new row into the edit grid. 
Any Idea?

Thank you.

Regards,
wk

2 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 26 Aug 2010, 05:20 AM
Hello,


Set the CommandItemDisplay property of GridTableView in order to show the CommandItem. It can take four values: None, Top, Bottom, TopAndBottom corresponding to the place where it will appear.


-Shinu.
0
wk
Top achievements
Rank 1
answered on 30 Aug 2010, 10:01 AM
Hi,

I understand that InitInsert allow inserting a row. How about inserting multiple new temporary row when user click on the CommandItem?
Tags
Grid
Asked by
wk
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
wk
Top achievements
Rank 1
Share this question
or