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

Add new row on top of the RadGridView using BeginInsert()

6 Answers 507 Views
GridView
This is a migrated thread and some comments may be shown as answers.
shadhan
Top achievements
Rank 1
shadhan asked on 25 Jan 2010, 11:59 AM

Hi Team,

I Need to Insert a new row on top of the RadGridView using BeginInsert() method.
The ItemsSource of RadGridView is assigned dynamically.

Is there any property or method available to add new record in a first row of the RadGridView.

Regards.
Shanthi

6 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 26 Jan 2010, 12:40 PM
Hello Shanthi,

The grid will new record on the top only if your collection is fixed size - for example array. Otherwise the grid will add the new record directly in your collection.

Best wishes,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
shadhan
Top achievements
Rank 1
answered on 28 Jan 2010, 04:54 AM
Hi Vlad,

Thanks for your response, My Grid's Items source is assigned dynamically, Is there any other possibilities to add a new row on top of the gridview (using dynamic collection).

Regards,
Shanthi
0
Milan
Telerik team
answered on 28 Jan 2010, 07:05 AM

Hello shadhan,

You should use the AddingNewDataItem event of RadGridView. Could you please take look at our Managing Data help section which is available here.

If you encounter any difficulties we will be glad to help.


Regards,
Milan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Harshal
Top achievements
Rank 1
answered on 12 Nov 2013, 01:33 PM
Please let me know the code for adding the row at TOP on BeginInsert
0
Ed
Top achievements
Rank 1
answered on 11 Feb 2014, 05:29 AM
We're looking for examples from you guys and all you do is point to the documentation!  YOU GUYS SUCK!!!
0
Maya
Telerik team
answered on 11 Feb 2014, 07:56 AM
Hello Ed,

Actually, this is not true. We point to our documentation when it is appropriate and all the required information is available there. We also provide a lot of examples in our forums, sdk, demos, blog posts, support threads. 


Regards,
Maya
Telerik

Check out the new Telerik Platform - the only modular platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native apps. Register for the free online keynote and webinar to learn more about the Platform on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT).

Tags
GridView
Asked by
shadhan
Top achievements
Rank 1
Answers by
Vlad
Telerik team
shadhan
Top achievements
Rank 1
Milan
Telerik team
Harshal
Top achievements
Rank 1
Ed
Top achievements
Rank 1
Maya
Telerik team
Share this question
or