Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
Ultrawebgrid fixed header row
posted

 Hi,

   I am using an ultrawebgrid with the StationaryMargins="Header" Option. There are a couple of queries I had about using this option.

 

1. When using the StationaryMargins is it possible to set the width of a UltraGridColumn to a percentage? Say 50% or something? Whenever I attempt to do this, it ends up not displaying that particular column.

2. Is there any way to set the height of the scrollable portion of the grid (Not the whole grid)

 

Thanks in advance. 

Parents
  • 19308
    posted

    You should be able to set the column to a relative width, just be sure you know what you're setting it relative to.  Do you have a width set on the Grid?  Also, how many columns are in there, and what are their widths set to?  I think there might be stricter requirements on sizing when stationary margins are true, but I still expect that you'll be able to size the column with a %.

    For setting the height of the scrollable portion of the grid - I think it I could better understand the question if I understood what result you're trying to acheive.  Worse comes to worse, you can always write a targeted CSS selector which affects only the size of the desired element (the tbody in this case).

    -Tony

Reply Children