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

Insert new row in RadGrid

3 Answers 273 Views
Grid
This is a migrated thread and some comments may be shown as answers.
mohsinjk jk
Top achievements
Rank 1
mohsinjk jk asked on 19 Aug 2010, 10:36 AM
Hello,

I am working on RadGrid. I need help regarding insert new row in a Rad grid.
I know how to insert a new row in rad grid.but I don't want like this. When i press 'add new row' button it just open new dialog inside grid.
Basically i want to insert inline row instead of dialog for entering data. Please guide me how can i enter data in new row using inline.

I hope you understand my question. I don't want to open any dialog. I just want to use radgrid same lik Microsoft excel for entering data.


Regards
Mohsin JK 

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 19 Aug 2010, 11:19 AM
Hello Mohsin,


If you want to enable inline insert/edit, then simply set the MasterTableView -> EditMode to "InPlace".


-Shinu.
0
mohsinjk jk
Top achievements
Rank 1
answered on 19 Aug 2010, 11:49 AM
Thanks for quick reply dear,

basically i am using following tag for enter data on specific fields not for all fields (remaining fields are just display the calculation of newly entered fields) for this i used following tags inside grid.

   <EditFormSettings EditFormType="Template">
               <FormTemplate>  </FormTemplate>
   </EditFormSettings>

how can i display only specific cells in "inplace"  editmode. 

0
Iana Tsolova
Telerik team
answered on 19 Aug 2010, 12:28 PM
Hi,

With RadGrid you can have either InPlace edit mode with auto-generated edit form, or EditForm edit mode with Template edit form type. However you cannot mix them both.

Additionally, in case you prefer to use inplace editing, you can set the ReadOnly property of the columns which data you do not want to allow editing for.

Best wishes,
Iana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
mohsinjk jk
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
mohsinjk jk
Top achievements
Rank 1
Iana Tsolova
Telerik team
Share this question
or