[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Re: Table - Setting default/fixed number of displayable rows
|
Hi,
You can compute the required Table height in pixels based on its row height.
For a related example see
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet253.java?view=co .
Grant
"Marcio DeBarros" <marcio.debarros@xxxxxxxxx> wrote in message
news:fv4qa2$nak$1@xxxxxxxxxxxxxxxxxxxx
> Hi,
>
> How can I set a default number of rows to be displayed in a table ?
>
> What I am trying to do is to have my table to display only a
> predetermined number of rows (e.g.: 15). Regardless if my model/input
> has less (empty rows should be displayed) or more (vertical scroll bar).
>
> Thanks in advance for any information on this.
>
> --MD.