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
Hi Intersoft.
I'm doing on Webgrid and has a problem in resizing on client side.
I has an webgrid on popup window, the grid has more columns and the width was set to specify value (not is 100 percent) the grid has scroll width.
I want when i resize window popup then the grid's width auto resize correlative window's width.
I searched and not found grid.setWidth(), I try using
var dvBody = grid.RootTable.GetElement(WG40.BODY, WG40.HTMLDIV);
dvBody.style.width = "xxx";
but just a part of grid was resized, something else (head,footer,...) could not be resize
How to do this?
Please help me.
Thansk
Nguyen
I made a simple test of WebGrid based on your information. In my test page, I uses AutoHeight and AutoWidth feature of WebGrid in order to have WebGrid resize correlative with the windows width. AutoHeight and AutoWidth property specifies whether WebGrid will calculate its height and width automatically based on available page’s height.
I enclosed my test page as attachment. for more detail information, please check my simple test page and let us know whether it helps or not.
Hello Nguyen,
If I am not mistaken, there is no method to resize its width. However, I think you still can use width and height with 100% value. Please place WebGrid inside a div container. When you resize the popup, you only need to change the div height/width style. WebGrid would follow the div because both the width and height are set 100% which would follow the div.One thing you would need to pay attention, please do not resize the width/height to very small amount because the status bar and footer would hardly show.
Regards,Handy
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