|Re: Bug 366660 - Paginated table control [message #1066328 is a reply to message #1066050]
||Tue, 02 July 2013 04:10
| Tim Buschtoens
Registered: July 2009
Always good to see developers sharing their efforts with RAP components.
There also exists a RAP-compatible paging control in the Nebula
project, how does it compare? If you plan to continue development on
this component I would suggest you host it on github, we can then put a
link there in our add-ons list.
Am 29.06.2013 15:03, schrieb Anatoliy Pogorelov:
> Hello !
> We'd like to share with you our working results concerning [Bug 366660] Paginated table control for futher duscussion. We have come to the necessity of developing this component as we have met quite often the need to display very long lists for user.
> So, we have developed Pagination tree and Pagination table, which are based on slightly modified TreeViewer and TableViewer. In the attach you can find classes PageTableViewer and PageTreeViewer. They have common parent base class AbstractPageViewer.
> The components under discussion have the next functionality:
> - paging one by one;
> - getting to the first and last page;
> - setting the page number you want to get
> - option to set the number of items per page;
> For our paginating controls we have developed the feature for automatic breaking in a cell a long text line in parts. Line is broken by spaces, but a very long word can also be broken in parts. For column creating we use TreeColumnLayout Ðž TableColumnLayout in order to automatically fix the last one. Classes describing trees and tables with line and word breaking are BaseTreeViewerN and BaseTableViewerN.
> In attach you can find:
> - PageTableViewer1.jpeg, PageTableViewer2.jpeg screenshots of our controls
> - ResourceBlocksEditor.java editor example from screenshot
> - AbstarctPageViewer.java paging base abstract class
> - TablePageViewer.java table pagination realization
> - TreePageViewer.java tree pagination realization
> - BaseTableViewerN.java base class for table with line and word breaking
> - BaseTreeViewerN.java base class for tree with line and word breaking
Professional services for RAP and RCP?
Powered by FUDForum
. Page generated in 0.02987 seconds