You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Zied Hamdi <ja...@gmail.com> on 2008/01/04 19:21:42 UTC

[Tobago] table scroller

Hi,

Is it possible to have the scroller on a table (when activated) reduce the
size of the table so it doesn't hide the right part?. In other terms, is it
possible to make only the vertical scroller show when there are too much
lines?

Thanks in advance,
Zied

Re: [Tobago] table scroller

Posted by Zied Hamdi <ja...@gmail.com>.
Ok,
https://issues.apache.org/jira/browse/TOBAGO-585

Regards,
Zied


2008/1/8, Volker Weber <v....@inexso.de>:
>
> Hi,
>
> >
> > I agree with you that the presence of a property rowHeight could help.
> >
>
> please add a jira feature request.
>
>
> Regards,
>    Volker
>
> 2008/1/8, Zied Hamdi <ja...@gmail.com>:
> > Hi Volker,
> >
> > Thanks a lot for your answer, sorry for the late answer I wasn't here
> > yesterday. Your mail explains lots of things.
> >
> > I agree with you that the presence of a property rowHeight could help.
> >
> >
> >
> > what is the colums attribute of the sheet ?
> > I would expect something like "20px;1*;1*",
> >
> > You're right, at two pixels of precision: It was "18px;*;*" ;-)
> >
> > Regards,
> > Zied
> >
> >
> > 2008/1/7, Volker Weber <v....@inexso.de>:
> >
> > > Hi Zied,
> > >
> > > In general this should be done automatic.
> > >
> > > what is the colums attribute of the sheet ?
> > > I would expect something like "20px;1*;1*", if so the sheet should
> > > calculate the "1*" to a size which let the space for the scrollbar
> > > free, if too much rows to render.
> > >
> > > This works only when the needed height of a row is not more than the
> > > Sheet.rowHeight property in the tobago-theme-config.properties, which
> > > is 18 (px) in the scarborough (fallback of speyside) theme.
> > >
> > > You can set forceVerticalScrollbar=true, on the tc:sheet tag, to force
> > > the space for the scrollbar.
> > >
> > > Maybe we should add a property rowHeight to the sheet.
> > >
> > >
> > > Regards,
> > >    Volker
> > >
> > > 2008/1/4, Zied Hamdi <ja...@gmail.com>:
> > > > Hi,
> > > >
> > > > Is it possible to have the scroller on a table (when activated)
> reduce
> > the
> > > > size of the table so it doesn't hide the right part?. In other
> terms, is
> > it
> > > > possible to make only the vertical scroller show when there are too
> much
> > > > lines?
> > > >
> > > > Thanks in advance,
> > > > Zied
> > > >
> > > >
> > >
> > >
> > > --
> > > inexso - information exchange solutions GmbH
> > > Bismarckstraße 13      | 26122 Oldenburg
> > > Tel.: +49 441 4082 356 |
> > > FAX:  +49 441 4082 355 | www.inexso.de
> > >
> >
> >
> >
> > --
> > Zied Hamdi
> > zatreex.sourceforge.net
>
>
> --
> inexso - information exchange solutions GmbH
> Bismarckstraße 13      | 26122 Oldenburg
> Tel.: +49 441 4082 356 |
> FAX:  +49 441 4082 355 | www.inexso.de
>



-- 
Zied Hamdi
zatreex.sourceforge.net

Re: [Tobago] table scroller

Posted by Volker Weber <v....@inexso.de>.
Hi,

>
> I agree with you that the presence of a property rowHeight could help.
>

please add a jira feature request.


Regards,
    Volker

2008/1/8, Zied Hamdi <ja...@gmail.com>:
> Hi Volker,
>
> Thanks a lot for your answer, sorry for the late answer I wasn't here
> yesterday. Your mail explains lots of things.
>
> I agree with you that the presence of a property rowHeight could help.
>
>
>
> what is the colums attribute of the sheet ?
> I would expect something like "20px;1*;1*",
>
> You're right, at two pixels of precision: It was "18px;*;*" ;-)
>
> Regards,
> Zied
>
>
> 2008/1/7, Volker Weber <v....@inexso.de>:
>
> > Hi Zied,
> >
> > In general this should be done automatic.
> >
> > what is the colums attribute of the sheet ?
> > I would expect something like "20px;1*;1*", if so the sheet should
> > calculate the "1*" to a size which let the space for the scrollbar
> > free, if too much rows to render.
> >
> > This works only when the needed height of a row is not more than the
> > Sheet.rowHeight property in the tobago-theme-config.properties, which
> > is 18 (px) in the scarborough (fallback of speyside) theme.
> >
> > You can set forceVerticalScrollbar=true, on the tc:sheet tag, to force
> > the space for the scrollbar.
> >
> > Maybe we should add a property rowHeight to the sheet.
> >
> >
> > Regards,
> >    Volker
> >
> > 2008/1/4, Zied Hamdi <ja...@gmail.com>:
> > > Hi,
> > >
> > > Is it possible to have the scroller on a table (when activated) reduce
> the
> > > size of the table so it doesn't hide the right part?. In other terms, is
> it
> > > possible to make only the vertical scroller show when there are too much
> > > lines?
> > >
> > > Thanks in advance,
> > > Zied
> > >
> > >
> >
> >
> > --
> > inexso - information exchange solutions GmbH
> > Bismarckstraße 13      | 26122 Oldenburg
> > Tel.: +49 441 4082 356 |
> > FAX:  +49 441 4082 355 | www.inexso.de
> >
>
>
>
> --
> Zied Hamdi
> zatreex.sourceforge.net


-- 
inexso - information exchange solutions GmbH
Bismarckstraße 13      | 26122 Oldenburg
Tel.: +49 441 4082 356 |
FAX:  +49 441 4082 355 | www.inexso.de

Re: [Tobago] table scroller

Posted by Zied Hamdi <ja...@gmail.com>.
Hi Volker,

Thanks a lot for your answer, sorry for the late answer I wasn't here
yesterday. Your mail explains lots of things.

I agree with you that the presence of a property rowHeight could help.



*what is the colums attribute of the sheet ?
I would expect something like "20px;1*;1*", *
**

You're right, at two pixels of precision: It was "18px;*;*" ;-)

Regards,
Zied

*
* 2008/1/7, Volker Weber <v....@inexso.de>:

> Hi Zied,
>
> In general this should be done automatic.
>
> what is the colums attribute of the sheet ?
> I would expect something like "20px;1*;1*", if so the sheet should
> calculate the "1*" to a size which let the space for the scrollbar
> free, if too much rows to render.
>
> This works only when the needed height of a row is not more than the
> Sheet.rowHeight property in the tobago-theme-config.properties, which
> is 18 (px) in the scarborough (fallback of speyside) theme.
>
> You can set forceVerticalScrollbar=true, on the tc:sheet tag, to force
> the space for the scrollbar.
>
> Maybe we should add a property rowHeight to the sheet.
>
>
> Regards,
>    Volker
>
> 2008/1/4, Zied Hamdi <ja...@gmail.com>:
> > Hi,
> >
> > Is it possible to have the scroller on a table (when activated) reduce
> the
> > size of the table so it doesn't hide the right part?. In other terms, is
> it
> > possible to make only the vertical scroller show when there are too much
> > lines?
> >
> > Thanks in advance,
> > Zied
> >
> >
>
>
> --
> inexso - information exchange solutions GmbH
> Bismarckstraße 13      | 26122 Oldenburg
> Tel.: +49 441 4082 356 |
> FAX:  +49 441 4082 355 | www.inexso.de
>



-- 
Zied Hamdi
zatreex.sourceforge.net

Re: [Tobago] table scroller

Posted by Volker Weber <v....@inexso.de>.
Hi Zied,

In general this should be done automatic.

what is the colums attribute of the sheet ?
I would expect something like "20px;1*;1*", if so the sheet should
calculate the "1*" to a size which let the space for the scrollbar
free, if too much rows to render.

This works only when the needed height of a row is not more than the
Sheet.rowHeight property in the tobago-theme-config.properties, which
is 18 (px) in the scarborough (fallback of speyside) theme.

You can set forceVerticalScrollbar=true, on the tc:sheet tag, to force
the space for the scrollbar.

Maybe we should add a property rowHeight to the sheet.


Regards,
    Volker

2008/1/4, Zied Hamdi <ja...@gmail.com>:
> Hi,
>
> Is it possible to have the scroller on a table (when activated) reduce the
> size of the table so it doesn't hide the right part?. In other terms, is it
> possible to make only the vertical scroller show when there are too much
> lines?
>
> Thanks in advance,
> Zied
>
>


-- 
inexso - information exchange solutions GmbH
Bismarckstraße 13      | 26122 Oldenburg
Tel.: +49 441 4082 356 |
FAX:  +49 441 4082 355 | www.inexso.de