|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
GridView Header HeightHi all :)
I'm trying to set my header row to a fixed height. Currently all the rows are equally spread on the control so If I have less rows all the rows, including the header, become taller. What can I do about this? I just want to be able to specify the height of the header row. I've already tried things like <HeaderStyle Height=20px /> but that doesn't change anything! Thnx :) Wouter de kort Wouter de Kort wrote:
> Hi,> What can I do about this? I just want to be able to specify the height of > the header row. I've already tried things like <HeaderStyle Height=20px /> > but that doesn't change anything! > Don't take my answer as mockery. Default row height is close to 20px (medium test size in the browser). Do you test with <HeaderStyle Height="30px"/> or <HeaderStyle Height="40px"/> ? "marss" wrote: I've tried Height=200px and then the rows get a lot taller. But with > > Hi, > Don't take my answer as mockery. > Default row height is close to 20px (medium test size in the browser). > Do you test with <HeaderStyle Height="30px"/> or <HeaderStyle > Height="40px"/> ? > something like height = 0 nothing happens. If there is just one row in the gridview the header and the row are both half the height of the control so setting it to 20px changes nothing in that situation. Thnx :) Wouter On Feb 13, 12:03 pm, Wouter de Kort
<WouterdeK***@discussions.microsoft.com> wrote: > Don't set the height of the gridview.> If there is just one row in the gridview the header and the row are both > half the height of the control so setting it to 20px changes nothing in that > situation. > On Feb 13, 12:03 pm, Wouter de Kort
<WouterdeK***@discussions.microsoft.com> wrote: > Minimal height of the row depends on the font size of the header text.> I've tried Height=200px and then the rows get a lot taller. But with > something like height = 0 nothing happens. > Try this, maybe it helps. <HeaderStyle Height="10px" Font-Size="8px"/>
Highlight a clicked row in a gridview linked to a css
Valid Date Newbie, submit form error on postback Check if Value Has Changed Newbie, error between asp.net 1.1 and asp.net 2.0 How do I reposition Controls inside Panel in designer why is this html table still visible? Put the date of today in a text control Formated Data Input Form How Do I Modify Text In A Cell Based On Button Click |
|||||||||||||||||||||||