4 Replies Latest reply on May 16, 2008 9:57 AM by ilya_shaikovsky

    Performance issues with <rich:calendar>

    ankitak

      I'am working with <rich:dataTable> where in I am also applying sorting, filtering and pagination and using <rich:calendar> in certain columns. when I try to sort or filter it takes a lot of time to render the page(performance is poor). But When I removed the calendar columns i found that the performance was better. The problem is i need to use calendar and also the performance matters what can be done in this regard. Thanx in advance

        • 1. Re: Performance issues with <rich:calendar>
          ilya_shaikovsky

          Could you please tells us the number of rows inside your table?

          We've already performed a couple of works(till 3.2.0) for increasing perfomance of calendar. We've expecting that about 20 rows will be resorted in a second.

          • 2. Re: Performance issues with <rich:calendar>
            ankitak

            What am working on is just a test application. It caontains some what around 12 to 15 rows not more than that, but sorting takes around 6-7 seconds and filtering takes even more.

            • 3. Re: Performance issues with <rich:calendar>
              ankitak

              Hi ilya,
              just wanted to add some information, actually in my case the table contains around 12 columns n 5 of them are containing the calendar tag. When I try to run the page and go to view source I find that there is somewhere around 4000 line of code containing a lot of java script which i guess is making the page quite loaded and hence it is taking time to get rendered. Is there some optimization technique or some best practice that you can suggest.

              • 4. Re: Performance issues with <rich:calendar>
                ilya_shaikovsky

                yes - these count of calendar components will freeze yiour page. Because every calendar shoud be initialized, loads its data etc...

                In your case you should use some workaround like inplaces has out of the box - e.g. use output for every date and load calendar component via ajax after click for edit. Or something else. In other words right now you will not be able to use such number of calendar components.