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

Adding new row Dynamically

1 Answer 151 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Prashant
Top achievements
Rank 1
Prashant asked on 30 Nov 2010, 11:14 PM
i want to add a new row either as a  second header or a new row at first position in the grid so that it remains at the top and the row remains at the first position even with paging (adding new row at databound event)
previously i was doing something like this with the gridview control

Table tbl = gvDownload.Rows[0].Parent as Table;
  GridViewRow gRow = new GridViewRow(-1, -1, DataControlRowType.DataRow, DataControlRowState.Insert);
then i was building the row by adding cell values individually and finally adding this row in the table.

i have also attached the screen shot of the grid implementing this functionality.

how i can do that with telerik grid?

Thanks,
Prashant

1 Answer, 1 is accepted

Sort by
0
Prashant
Top achievements
Rank 1
answered on 01 Dec 2010, 10:11 PM
I fixed it.. dont bother looking into it...

thanks
Tags
Grid
Asked by
Prashant
Top achievements
Rank 1
Answers by
Prashant
Top achievements
Rank 1
Share this question
or