Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-13615

ExtendedDataTable: double ajax request on scrolling

    Details

    • Steps to Reproduce:
      Hide

      1. Go to the extendedDataTable showcase
      2. Turn on ajax loading.
      3. Open the debugger of your browser and watch the network communication
      4. Scroll down in the table untli new data has to be fetched.
      => one POST request is sent. This is fine.
      5. Change the width of a column in the table.
      => one POST request is sent. This is fine.
      6. Scroll again in the table untli new data has to be fetched.
      -> 2 POST requests are sent. WHY?
      From now on, on each scroll, the table always sends 2 requests. This behavior stops only when your relaod the table.

      Show
      1. Go to the extendedDataTable showcase 2. Turn on ajax loading. 3. Open the debugger of your browser and watch the network communication 4. Scroll down in the table untli new data has to be fetched. => one POST request is sent. This is fine. 5. Change the width of a column in the table. => one POST request is sent. This is fine. 6. Scroll again in the table untli new data has to be fetched. -> 2 POST requests are sent. WHY? From now on, on each scroll, the table always sends 2 requests. This behavior stops only when your relaod the table.

      Description

      After changing the width of a column, subsequent scrolling of the table triggers 2 ajax requests instead of the expected single request.

      Due to this behavior I get some performance issues, as I have to execute some own javascript after each request.

      Is there a possibility to prevent the 2nd POST request. I would be happy even with a dirty hack, or just a hint showing me from where the 2nd request is triggered.

      Best regards

      wlh

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                michpetrov Michal Petrov
                Reporter:
                wlh Holger Walter
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: