Re: DataGrid Row Auto-Size



Bruce Pullum wrote:
Can Someone please help me get the DATAGRID to keep the row size consistent when there is 1 row or 50 rows. Right now, if the datagrid has several rows of data, it is ok, and looks like a normal data grid. However, if the data goes to 1, 2, 3, etc rows of data, the grid will try to AUTO-SIZE the data row size, making the few rows of data take up the entire grid size.... This make the end result look really bad....

Please help with you ideas... I have searched everywhere for a solution to this...

Thanks,
Bruce

I've not tested this out, but try reducing the vertical length of the datagrid in design view. if there's a couple of inches in design view, it seems to try and fill to this size even if there's only 1-2 rows --as if it's using the design-view's size as a minimum size. so try reducing this minimum size.



mark .


Loading