0 Replies Latest reply on Oct 11, 2007 9:16 AM by indyjones

    Static Height for dataTable

      Environment
      --------------
      MySQL 5.0
      JBoss 4.2.0
      Seam 2.0.0 CR2

      Problem
      ----------
      I need the dataTable to stay the same height no matter how many records are displayed.

      If the rows attribute is set to 10 and only 8 records are displayed, I need the dataTable to be the same height as if there were 10, 4, or even 1 record displayed.

      Idea
      ------
      I am thinking about filling the table with empty objects to fill out the rest of the table. So if the rows where set to 10 and 7 User objects were displayed, I would add 3 empty User objects to make sure 10 records were in the table. This would make the height correct. Is there a better way of doing this? I dont really like this idea....

      Any help is very appreciated...

      Thanks

      indy