Question about HeaderStyle in GridView
-
I'd like to know whether it is possible to set different HeaderStyle for different columns in Gridview. I tried to put headerstyle cssclass tags in different columns. But this method is not working. Is there a way to do it? Thank you so much in advanced bin bin
-
I'd like to know whether it is possible to set different HeaderStyle for different columns in Gridview. I tried to put headerstyle cssclass tags in different columns. But this method is not working. Is there a way to do it? Thank you so much in advanced bin bin
-
i think this will work or you can also add it dynamically at ItemDataBound event.
< asp:BoundColumn HeaderText="Heading1" >
< /asp:BoundColumn >
Regards Shajeel
Thanks for your reply. It tried to define it in the asp:BoundColumn. But it seems the header style defined in the column won't override the style of the whole header. Should I use z-index to make it work? The header style defined for column is not working at all. Thank you again.
-
Thanks for your reply. It tried to define it in the asp:BoundColumn. But it seems the header style defined in the column won't override the style of the whole header. Should I use z-index to make it work? The header style defined for column is not working at all. Thank you again.