﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebGrid Enterprise - Resize client width of WebGrid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Resize-client-width-of-WebGrid/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Resize client width of WebGrid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Resize-client-width-of-WebGrid/</link><pubDate>Mon, 09 Aug 2010 10:19:51 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;I made a simple test of WebGrid based on your information. In my test page, I uses &lt;em&gt;AutoHeight&lt;/em&gt; and &lt;em&gt;AutoWidth&lt;/em&gt; 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.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;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.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Resize client width of WebGrid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Resize-client-width-of-WebGrid/</link><pubDate>Mon, 09 Aug 2010 10:05:15 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello Nguyen,&lt;/p&gt;&lt;p&gt;If I am not mistaken, there is no method to resize its width. &lt;br /&gt;However, I think you still can use width and height with 100% value. &lt;br /&gt;Please place WebGrid inside a div container. &lt;br /&gt;When you resize the popup, you only need to change the div height/width style. &lt;br /&gt;WebGrid would follow the div because both the width and height are set 100% which would follow the div.&lt;br /&gt;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.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>Resize client width of WebGrid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Resize-client-width-of-WebGrid/</link><pubDate>Sun, 08 Aug 2010 22:14:33 GMT</pubDate><dc:creator>mabu_mapu</dc:creator><description>&lt;p&gt;Hi Intersoft.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I'm doing on Webgrid and has a problem in resizing on client side.&lt;/p&gt;
&lt;p&gt;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. &lt;/p&gt;
&lt;p&gt;I want when i resize window popup then the grid's width auto resize correlative window's width.&lt;/p&gt;
&lt;p&gt;I searched and not found grid.setWidth(), I try using &lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'courier new', tahoma; font-size: 12px; color: rgb(0, 0, 102); white-space: pre; "&gt;var dvBody = grid.RootTable.GetElement(WG40.BODY, WG40.HTMLDIV);&lt;/span&gt;&lt;/p&gt;&lt;span style="font-family: verdana, arial, helvetica, sans-serif; font-size: 12px; color: rgb(0, 0, 102); "&gt;&lt;pre&gt;dvBody.style.width = "xxx";&lt;/pre&gt;&lt;pre&gt;but just a part of grid was resized, something else (head,footer,...) could not be resize&lt;/pre&gt;&lt;pre&gt;How to do this?&lt;/pre&gt;&lt;pre&gt;Please help me.&lt;/pre&gt;&lt;pre&gt;Thansk&lt;/pre&gt;&lt;pre&gt;Nguyen&lt;/pre&gt;&lt;/span&gt;</description></item></channel></rss>