Contrib: Gradebook2
  1. Contrib: Gradebook2
  2. GRBK-954

Switch to using GXT live grid for improved performance

    Details

    • Type: Task Task
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.4.1
    • Fix Version/s: None
    • Component/s: GWT Client
    • Labels:
      None

      Description

      It was found in GRBK-919 that the more items in the multigrade grid, the worse the performance is due to the size of the DOM and general inefficient DOM use by GXT's grids..

      This JIRA is to switch from using a paging grid to using a live grid. For the live grid sample see:

      http://www.sencha.com/examples/pages/grid/livegrid.html

        Issue Links

          Activity

          Hide
          Michael Wenk added a comment -
          I tried the idea in that thread and it doesn't work, it doesn't even seem to be called. I have submitted:

          http://www.sencha.com/forum/showthread.php?151219-Converting-to-a-live-grid&p=661189

          to the sencha forums for some help, going to crawl the GXT source for some inspiration...
          Show
          Michael Wenk added a comment - I tried the idea in that thread and it doesn't work, it doesn't even seem to be called. I have submitted: http://www.sencha.com/forum/showthread.php?151219-Converting-to-a-live-grid&p=661189 to the sencha forums for some help, going to crawl the GXT source for some inspiration...
          Hide
          Michael Wenk added a comment -
          Worked with Thomas a bit and we found two more deficiencies in the live:

          1) Searching and selecting the section drop down do not seem to work, it doesn't seem to understand the number of items in its store has changed.
          2) Clicking on a student and closing and then clicking on another student only works on the first page. Scroll down, and you get someone different than you expect. Scroll more and it seems to change which wrong student you get in a worse way.
          Show
          Michael Wenk added a comment - Worked with Thomas a bit and we found two more deficiencies in the live: 1) Searching and selecting the section drop down do not seem to work, it doesn't seem to understand the number of items in its store has changed. 2) Clicking on a student and closing and then clicking on another student only works on the first page. Scroll down, and you get someone different than you expect. Scroll more and it seems to change which wrong student you get in a worse way.
          Hide
          Michael Wenk added a comment -
          At this point, I need to open a black box. I really need to understand how the LiveGridView works vs the old GridView, as it will not work properly as is, and needs either configuring or sub classing to work properly. I never expected to have to do this, I figured that LiveGridView would just work for the most part.

          Right now I'm backing off the original 5-10 SP estimate, as I have past that at this point. I'm unsure how many more points this will take as I'm unsure how long it will take to understand those black boxes I referred to above. The grid code is somewhat confusing and hard to follow with almost no documentation and extremely simple examples. Conversely its possible the forum posts may reveal some insight or some examples to look at which could solve this.

          Seeing as we're already past the point to start testing, I doubt this will make it into 1.7. I did a quick look thru GWT's samples wondering if it may be easier to work with the vanilla google data tables, but they do not seem to have a live component and seem to be missing the ability to have a user selected page size. However, they are fast, and produce a smaller footprint than GXT tables.

          For now I will continue and see if I can hit a quick solution, but I have extreme doubt. We probably want to talk about this tomorrow as a group.

          Currently I'm pulling down GXT to learn, as the version I have is not the latest one we are using.

          Show
          Michael Wenk added a comment - At this point, I need to open a black box. I really need to understand how the LiveGridView works vs the old GridView, as it will not work properly as is, and needs either configuring or sub classing to work properly. I never expected to have to do this, I figured that LiveGridView would just work for the most part. Right now I'm backing off the original 5-10 SP estimate, as I have past that at this point. I'm unsure how many more points this will take as I'm unsure how long it will take to understand those black boxes I referred to above. The grid code is somewhat confusing and hard to follow with almost no documentation and extremely simple examples. Conversely its possible the forum posts may reveal some insight or some examples to look at which could solve this. Seeing as we're already past the point to start testing, I doubt this will make it into 1.7. I did a quick look thru GWT's samples wondering if it may be easier to work with the vanilla google data tables, but they do not seem to have a live component and seem to be missing the ability to have a user selected page size. However, they are fast, and produce a smaller footprint than GXT tables. For now I will continue and see if I can hit a quick solution, but I have extreme doubt. We probably want to talk about this tomorrow as a group. Currently I'm pulling down GXT to learn, as the version I have is not the latest one we are using.
          Hide
          Michael Wenk added a comment -
          Tabling this for now per Joyce
          Show
          Michael Wenk added a comment - Tabling this for now per Joyce
          Hide
          Constance Fuller added a comment -
          Per the team meeting on 9/5/12, we are adjusting down the priority. This is addressed via the paging mechanism currently. The request may be obsolete in the future with a switch away from GXT.
          Show
          Constance Fuller added a comment - Per the team meeting on 9/5/12, we are adjusting down the priority. This is addressed via the paging mechanism currently. The request may be obsolete in the future with a switch away from GXT.

            People

            • Assignee:
              Unassigned
              Reporter:
              Michael Wenk
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: