পৃষ্ঠাসমূহ

.

Search Your Article

Total Pageviews

Wednesday, March 1, 2017

JSF - DataTable

JSF DataTable

JSF provides a rich control named DataTable to render and format html tables.
  • DataTable can iterate over collection or array of values to display data.
  • DataTable provides attributes to modify its data in easy way.

HTML Header

<html 
   xmlns="http://www.w3.org/1999/xhtml"   
   xmlns:h="http://java.sun.com/jsf/html">
</html>
Following are important DataTable operations in JSF 2.0:
S.N.Tag & Description
1Display DataTable
How to display a datatable
2Add data
How to add a new row in a datatable
3Edit data
How to edit a row in a datatable
4Delete data
How to delete a row in datatable
5Using DataModel
Use DataModel to display row numbers in a datatable

No comments:

Post a Comment