Thanks for the pointer , 

I had to put the following in displaytag.css

div.TableContainer { 
height: 350px; 
width:650px;
overflow-x:auto; 
overflow-y:auto; 
overflow:scroll;
}

And then in JSP

<table width="100%" border="1" > 
  <tr> 
      <td> 
        <div class="TableContainer"> 
                        <display:table --------(display table and column
stuff) 
                        </display:table>
        </div> 
      </td> 
   </tr> 
</table>


Travers
-----Original Message-----
From: Nathan Anderson [mailto:[EMAIL PROTECTED] 
Sent: 21 February 2007 07:37 PM
To: [email protected]
Subject: Re: [appfuse-user] displaytag with horizontal scrollbar

You should be able to put the displaytag within a div that you set the 
width, height, overflow and scroll CSS properties.

There may be other ways, but thats what I'd try first.

Nathan


Travers Snyman wrote:
>
> Hi
>
> Is there a way to add a horizontal scrollbar to the display table of 
> displaytag - not using the browser's scrollbar. I have a table with a 
> lot of columns - too wide to display on the page width. This messes up

> the page appearance, menus, images disappear etc. I would like the 
> page width to remain static and horizontally scroll through the table 
> columns. I use Appfuse 1.9.4 with Struts and the Andreas01 style.
>
> Thanks
>
> Travers
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to