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

How to Remove GridTableView colgroup and thead from the Server Side?

1 Answer 433 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Pooya
Top achievements
Rank 1
Pooya asked on 12 Sep 2011, 05:24 PM
In RadGrid control, you can add DetailTables.

By default, the html generated out of this added DetailTable contains <colgroup> and <thead> elements.

I'd need to remove these 2 elements and currently I'm using JQuery on the client side:

thisNestedTable.find('> thead,> colgroup').remove();

How to achieve this from the server side? Does GridTableView support this to exclude these 2 elements from the generated html?

I'd need this asap so would really appreciate it if you could respond quickly.

1 Answer, 1 is accepted

Sort by
0
Galin
Telerik team
answered on 15 Sep 2011, 04:25 PM
Hello Pooya,

Thank you for contacting us.

I am afraid this functionality is not supported. Therefore you can remove the tag elements only client side, but please note the column dimensions are set to the <col> tags and removing them can disable some of RadGrid functionalities/features.


Best wishes,
Galin
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal
Tags
Grid
Asked by
Pooya
Top achievements
Rank 1
Answers by
Galin
Telerik team
Share this question
or