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

Radgrid Rows Frozen like Column Frozen...

1 Answer 155 Views
Grid
This is a migrated thread and some comments may be shown as answers.
raaj
Top achievements
Rank 1
raaj asked on 17 Sep 2010, 05:07 PM
Team,

As per my requirement am converting HTML Table to DataTable.
And then I bind that DataTable as a Datasource of Radgrid.
My problem  is I dont want the header generated as Column0, Column1, Column2...
Instead of that I want first 2 rows of the DataTable to be the Header and frozen.

Pls. Reply, we bought your Tool for our application development.

Thanks

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 20 Sep 2010, 12:43 PM
Hello Rajesh,

I am afraid RadGrid doesn't support frozen rows. What you can do is include the content of the first row in a HeaderTemplate.

http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/columntypes/defaultcs.aspx

(see the last column of the first RadGrid - you can do something similar)

Another possible option is to include the "frozen" data in the CommandItemTemplate, but in this case it will appear above the header row.

Regards,
Dimo
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
raaj
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or