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

Add row to the first line

2 Answers 54 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Roy
Top achievements
Rank 1
Roy asked on 20 Jan 2014, 02:04 PM
hi,
What's the efficient way to insert a new line but to the first line of the grid?
it means all the exists rows will "push" below.

if you can refer me to example it will be great.

best regards,
Roy

2 Answers, 1 is accepted

Sort by
0
Roy
Top achievements
Rank 1
answered on 21 Jan 2014, 08:45 AM
already found it:
radGridView1.Rows.Insert(position, row);


Either way,  thanks for everything.
0
Ralitsa
Telerik team
answered on 22 Jan 2014, 09:58 AM
Hi Roy,

I am glad to hear that you found how to insert row at specific position. You can find more information how to manipulate with rows (add, insert, remove, format and etc.) in the RadGridView in our documentation, section GridView => Rows

Should you have further questions, I would be glad to help.

Regards,
Ralitsa
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
GridView
Asked by
Roy
Top achievements
Rank 1
Answers by
Roy
Top achievements
Rank 1
Ralitsa
Telerik team
Share this question
or