[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform.swt] Re: Table with paging


Ivan,

If you used a JFace TableViewer you could use a filter to show only (e.g.) 25 records at a time. Intially allow records with ID between 1 and 25 to be shown. If the 'Next' button is pressed modify the filter to show records with IDs between 26 and 50. I've used similar (with drop down list) for showing just top 10, 20, or 50 records.

A.J.

Ivan wrote:
I would like
to introduce a sort of paging (for example, the Table shows only 10 rows and then with two buttons NEXT and PREV the user can look at the data)