Is there a straightforward way to access the current row index while rendering a standard JSF dataTable component? I want to show the serial number for each row.
Is creating a binding to a bean the only way to do that?
Hi Robin, I had the same problem. If you use a Tomahawk dataTable you can the variable 'rowIndexVar' to get the row number, starting at zero. Here is how I print out my row numbers: