RadGrid GridHeaderItem visible=false is still using up screen space

0 Answers 1 View
Grid
Andrew
Top achievements
Rank 1
Andrew asked on 18 Nov 2025, 06:41 PM

I'm trying hide a couple of columns in a RadGrid. I can do this in RadGrid1_ItemDataBound with the GrdiHeaderItem setting visible = false.

However, the output still uses space for the 2 columns that were hidden at the end of the grid.

Looking at the page source when I run my app there are 2 extra <col /> tags in <colgroup> and the <tfoot> tag has 2 extra <td></td> tags. There is the correct number of <td> tags in each row in <tr> in the table body.

Could this be from css? Is there a way in override this in RadGrid1_ItemDataBound manually?

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Andrew
Top achievements
Rank 1
Share this question
or