2 Replies Latest reply on Jun 11, 2008 6:45 PM by daclan

    How to know the first item and last item in dataTable ?

    daclan

      I used RichFaces DataTable to display the items of a list. In my UI, if this is a fist item, I will display a down arrow. And if this is the last item, I will display an up arrow.


      I would like to know if there is a way in DataTable that tells me that an item is the first one or the last one in the list ?