3 Replies Latest reply on Oct 26, 2010 10:51 AM by J Miller

    <rich:scrollableDataTable> render time.

    ram sundaram Newbie

      Why is that <rich:scrollableDataTable> takes time to render ? is there anything that i can do speed up? I see it takes around 4-6 sec consistently.

       

      Even demo page http://livedemo.exadel.com/richfaces-demo/richfaces/scrollableDataTable.jsf?c=scrollableDataTable&tab=usage  is taking time.

       

      i tested in firefox and chrome.

       

      Any pointer?

       

      thx

        • 1. Re: <rich:scrollableDataTable> render time.
          Ilya Shaikovsky Master

          can't confirm about demo page. it loads pretty fast for me using Chrome and IE 8 for example.

           

          Do you limited count of rows to be loaded?

           

          Does your columns contains complex components ? http://www.jroller.com/a4j/entry/richfaces_calendar_component_shared_calendar - something like that could be used for different components..

           

          Need to look more into your concrete case.

          • 2. Re: <rich:scrollableDataTable> render time.
            ram sundaram Newbie

            thx for answering back.....

             

             

            <rich:scrollableDataTable rowKeyVar="rkv" height="400px" width="900px"
            id="resultTable" rows="40" columnClasses="col"
            value="#{memberSearch.searchResults}" var="result" sortMode="multi"
            selection="#{groupMgmt.selection}"
            binding="#{groupMgmt.scrollableTable}">

            <rich:scrollableDataTable rowKeyVar="rkv" height="400px" width="900px"

            id="resultTable" rows="40" columnClasses="col"

            value="#{bean1.results}" var="result" sortMode="multi"

            selection="#{bean2.selection}"

            binding="#{bean2.scrollableTable}">

             

             

            i limit rows to 40.

             

            the problem is im able to reproduce this consistently in all browsers and other test machine as well.

             

            All columns are simple text columns. This table is used only for display of the results. doesnt contain any complex components inside.

            • 3. Re: <rich:scrollableDataTable> render time.
              J Miller Newbie

              I've noticed this same problem.  The page I'm working on generally produces at least 3 <rich:dataTables>.  I considered using a <rich:scrollableDataTable> to try and correct the problem I posted about (http://community.jboss.org/thread/158163), but the page went from loading in 1 or 2 seconds to taking 10-20 seconds.  I'm also using simple text, and most of my tables only contain around 15 or so rows across 17 columns.  We're using IE 8 for my project, being developed in RAD 7.5.5 using a WAS 7.0 server. 

               

              Unfortunately, I can't offer a solution, but can say you're not the only one.  I ended up using a standard <rich:dataTable> and nesting inside a <div> with overflow-x enabled in my CSS.