Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Custom/ Extended DataTable Design  RSS feed

Sachin Jai
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to develop an Extended datatable component based on existing Sun JSF h ataTable component.
The following features are needed for table ( And may be all these should be configurable as well):
1.Column Sorting
2.Select All Checkbox Coulmn
3.Pagination-It should display records range in a drop-down
4. A button panel bar which would do ADD/EDIT/Delete/refersh etc..

I am able to do all of these but not in a generic way. Like I have a seperate Button bar( made of htmlCommandButtons) and attached it with datatable's datamodel. Similary , i have got pagination working but with using an seperate <h:selectOneMenu> with logic inside backing bean. Select All checkbox as a coulmn in datatable.

Can anybody suggest a design pattern for such component? How should all these pieces should be organised so that it will result in a single extended table component?

Any suggestions greatly appreciated.

Thanks in Advance.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!