The largest Interview Solution Library on the web


« Previous | 1 | 2 | 3 | Next »

Data Table


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
« Previous | 1 | 2 | 3 | Next »


copyright © 2014 - all rights riserved by javatechnologycenter.com