Webgrid7 Layoutsetting Issues

5 replies. Last post: March 26, 2010 3:13 AM by Glenn Layaar
Tags :
  • New Discussion
  • New Question
  • New Product Feedback
Gaurav DesaiMember

Hello,

We are using the WebUIGrid in SharePoint. We are facing the following issue with the Grid::

We are having  a table with 3 rows. The first row has few right aligned controls. The second row has WebUIGrid. Third row again have right aligned controls. We have some 15 columns in the grid out of which the fist 2 columns are freezed. We have specified the width of each column in pixels. When the grid gets render to the page, it looks good, but due to the number of columns, we see a scroll bar to the browser. The first row also gets stretch with the length of the grid. As this is not comfortable for viewing, we have used the property::

[WebUIGrid Name].LayoutSettings.AutoWidth = true;

After setting this property when the Grid gets render to the browser, we see a scroll bar to the grid fitting the browser width. But the length of the first row didn't get reduced and we still see the scroll bar to the browser. And the empty space in the second row. Please check the attached screenshot.

We basically want to set the above property and do not want to see any scroll bars to the browser.

Any help on this would be greatly appreciated.

 

Thanks,

G.S

1 attachment
All times are GMT -5. The time now is 11:30 PM.
Previous Next