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

adding new row dynamicaly

6 Answers 230 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Gauri
Top achievements
Rank 1
Gauri asked on 06 Jul 2010, 11:58 AM
Hi,
I used telerik RadGridView in my application. I want to display two rows initially , when I click on second row third row should be display.
There is a property called 'ShowInsertRow' ,if I set it to true then I can add row by click on 'click here to add new item' . But I dont want to click , it must done automatically. Can you please help me in adding row dynamically?

6 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 06 Jul 2010, 12:00 PM
Hi Gauri,

 You can call BeginInsert() method. 

Regards,
Vlad
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
0
Gauri
Top achievements
Rank 1
answered on 06 Jul 2010, 12:10 PM
Thanks. But on which event I call BeginInsert() method?
0
Ari
Top achievements
Rank 1
answered on 16 Jul 2010, 12:51 AM
I have the same question as Gauri.
How can you have the insert row always visible for the user to be able to click into and begin typing?
0
Milan
Telerik team
answered on 16 Jul 2010, 05:46 AM
Hi Ari,

You can set ShowInsertRow to True to enable a special row that is always visible and is used to enter new data into the grid. 


All the best,
Milan
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
0
Ari
Top achievements
Rank 1
answered on 16 Jul 2010, 02:38 PM
What I was looking for was a row that was already visible without having to click on it.
Like in a Windows Forms datagridview, or SQL management studio

And the user should be able to do continous data entry without having to click for a new row each time.
That is, hitting enter should save the row and take them to another new row.

Also, Is there a way to get the insert row on the bottom of the grid?
0
Milan
Telerik team
answered on 20 Jul 2010, 11:54 AM
Hello Ari,

Unfortunately this scenario is not supported by RadGridView and we will consider adding this functionality in one of our future release. I have created a PITS item for this feature request which can be used to track the status of this request. 

For the time being you can use the Insert Row that appears on top of the regular items.

Best wishes,
Milan
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
GridView
Asked by
Gauri
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Gauri
Top achievements
Rank 1
Ari
Top achievements
Rank 1
Milan
Telerik team
Share this question
or