1 Reply Latest reply on Jan 11, 2010 9:58 AM by fdegrigny

    dynamic height for scrollabledatatable

      Hi,

       

      I want to compute the height of the table in my bean and display it as follow :

      <rich:scrollableDataTable height="#{myBean.tableHeight}" .../>

      but the EL expression doesn't seem to be evaluated. The height attribute is only converted in HTML whe it's hard coded (ex : height="500px")

      Is it a bug or I miss some config stuff ?

        • 1. Re: dynamic height for scrollabledatatable

          Ok, it works.

          The issue was because I have defined the height of the table, both in the JSF tag and in the Java backing bean.

           

          <rich:scrollableDataTable binding="#{myBean.dataTable}" height="#{myBean.tableHeight}" .../>

           

          dataTable.setHeight("350px");