>>>>Is there a way to adjust the window width based on the table width? The table width may vary based on the length of some fields. I would like the browser window to adjust based on it.
>>>
>>>In java script you can use self.resizeto(width,height) to set the window size. So if you set the table width to 'width=710' you should be able to use the same 710 in the java code self.resizeto(720,200).
>>
>>We do not know the table width. It's size may vary depending on the column content. I was looking mostly for a function such as Table.Width.
>
>Michel;
>
>If you use ADO, you might try this:
>
>1. Create a variable for width
>2. Set the value of the variable to < %=ors("lastname").definedsize% >
>3. Use this value for your width
>
>This should use the length of the field to establish the width of the window.
I mean the column width is changing as per its content not the as per the field size. For example, even if the field size is 20, I may have only Test and Test1 as the values so the table width will be less. Yes, we could force the column width, but again, if we have values such as WWWWWWWWWWWWWWWWWWWWW this will make the column width to increase. So, basically, we need to get its width after generation.