iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
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
Currently the column must be preserved the way it is in order to avoid any issue with the freezing column feature, the column could not be hidden or altered.
My test of the scenario show you could use the table-layout: fixed css style on the HTML table in order to resolve the issue. You do not need to use the AutoWidth property.
Thanks Glenn,
that solution worked for me. But i have one more strange problem , although i am not adding any blank column i am finding one extra blank column at the very right hand side of my grid. Please see the attached screenshot. Can you pleas suggest what can be the cause for that ? and how do i remove it ?
Thanks.
The extra column will be displayed and required if you enable the freezing column feature. It will be used internally in order to render the WebGrid with freezing column feature correctly.
Hello Glenn,
Thanaks for your kind reply. As you said we can not remove that extra column, is there any way that we can reduce the width of that extra column? If we can, then please send me the sample code for doing the same.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname