1. #11
    Sencha User
    Join Date
    Dec 2007
    Posts
    96
    Vote Rating
    0
    nanich is on a distinguished road

      0  

    Default


    @Maximgb -- First of all, thanks for the great plug-in. Really liked it, when i had seen the same plugin developed using EXTJS 2.x version. The website where you have exposed the source to download seems to be down. Can you please have a look and resolve the issue.
    Thanks,
    nanich

  2. #12
    Ext User
    Join Date
    Oct 2009
    Posts
    3
    Vote Rating
    0
    hasdy is on a distinguished road

      0  

    Default Long running script

    Long running script


    I've been using the ext3 version of the treegrid with good success.

    But when I have a response of over 600 records, I get the browser's "Stop running this script?" and whatever the message is on Firefox. I eventually get there by clicking on "No" a few times.

    But is there a way to avoid this issue?

    I understand that having this many records in a single grid is not the best practice.... but that's what the client wants.

    If there is no resolution to that.... is there a good way to perform pagination on the treegrid that still is able to perform the sort on the entire result list?

    Many thanks in advance

  3. #13
    Ext JS Premium Member
    Join Date
    Jan 2008
    Posts
    315
    Vote Rating
    0
    josh803316 is on a distinguished road

      0  

    Default


    So far, in my experience, the reason you get the stop running scripts message is because you have a circular reference where your parent and your id are the same. Make sure that your id's are all unique and that when you parent and id will be the same thing your parent is null.

  4. #14
    Ext User
    Join Date
    Oct 2009
    Posts
    3
    Vote Rating
    0
    hasdy is on a distinguished road

      0  

    Default


    That was a good suggestion but unfortunately its never that simple.

    We've combed through our test data list and verified that all parent and id values aren't the same.

    Any other suggestions out there?

    Just to note..... we eventually do get the full data set rendered onto the grid, it's just that we have to "continue" running the script via the browser's alert 2 or 3 times before it gets there.

    I've been reading through some other forums and there are ways to by pass the alert by changing some configurations on the browser itself.... which is obviously not the ideal solution.

    Again, even a pagination solution would suffice.... if we can manage to perform the sorting through the entire dataset.

    Thanks again in advance.

  5. #15
    Sencha - Community Support Team mschwartz's Avatar
    Join Date
    Nov 2008
    Location
    San Diego, Peoples' Republic of California
    Posts
    2,053
    Vote Rating
    17
    mschwartz will become famous soon enough mschwartz will become famous soon enough

      0  

    Default


    IE throws up that dialog after 5,000,000 statements. Whatever a statement is...

    It can be changed by editing a registry key/value. Google for it.

  6. #16
    Ext JS Premium Member
    Join Date
    Jan 2008
    Posts
    315
    Vote Rating
    0
    josh803316 is on a distinguished road

      0  

    Default


    I think this may be a bug. It has happened in my application a couple times as well. I double checked the id's to make sure they were unique and that there were no circular parent references. The problem is, this doesn't happen every time I load the grid.

  7. #17
    Sencha Premium Member MaximGB's Avatar
    Join Date
    Jun 2007
    Location
    Moscow, Russia
    Posts
    506
    Vote Rating
    5
    MaximGB is on a distinguished road

      0  

    Default


    Again, even a pagination solution would suffice.... if we can manage to perform the sorting through the entire dataset.
    I don't get it, what sorting problems do you experience. There is a per node pagination implemented out of the box also...
    Use the force - read the source.

  8. #18
    Ext User
    Join Date
    Feb 2009
    Posts
    12
    Vote Rating
    0
    radutopala is on a distinguished road

      0  

    Default extjs3 version

    extjs3 version


    Hi,

    Where can I find the Extjs 3 version of this great component?

    Thanks.

    Radu

  9. #19
    Sencha Premium Member MaximGB's Avatar
    Join Date
    Jun 2007
    Location
    Moscow, Russia
    Posts
    506
    Vote Rating
    5
    MaximGB is on a distinguished road

      0  
    Use the force - read the source.

  10. #20
    Ext User
    Join Date
    Oct 2009
    Posts
    3
    Vote Rating
    0
    hasdy is on a distinguished road

      0  

    Default Pagination

    Pagination


    I think i must be missing something... based on the example provided in the package, I simply added

    Code:
    bbar: new Ext.ux.maximgb.tg.PagingToolbar({ store: store, displayInfo: true, pageSize: 30
    }),
    So the paging bar shows up and shows the appropriate number of pages but all results show up on the 1st page. ie 45 of 45 show even though my pageSize = 30.

    Note: when i click to the next page.... all results are showing while the caption (bottom right) shows "Displaying 31-74 of 45)

    Am I missing a declaration somewhere?

    Thanks!