Results 1 to 3 of 3

Thread: [FIXED] [1.1.1] Grid.reconfigure causes getSelectedItem() to not retreive new values

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Ext User
    Join Date
    Apr 2008
    Location
    Lincoln, NE
    Posts
    235
    Vote Rating
    0
      0  

    Default [FIXED] [1.1.1] Grid.reconfigure causes getSelectedItem() to not retreive new values

    In GXT 1.1.1, after calling Grid.reconfigure(newStoreOfData, sameXmlReader) and then calling Grid.getSelectionModel().getSelectedItem() returns what was on the old grid.

    Here is what I'm doing:
    1) I create a grid with items.
    2) I then call grid.reconfigure with an entirely different listStore, but with the same XmlReader.
    3) I then call grid.getSelectionModel().getSelectedItem() and returns the modeldata that was on the old grid.

    Note, however reconfigure works as expected. The new data is visible and present.

    I hope this is enough information.

    Thanks,

    JP

  2. #2
    Sencha - GXT Dev Team darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,242
    Vote Rating
    2
      0  

    Default

    Fixed in SVN.

  3. #3
    Sencha User
    Join Date
    Jul 2013
    Posts
    2
    Vote Rating
    0
      0  

    Default same problem with grid.getSelectionModel().getSelection() (4.2.0)

    Same problem with grid.getSelectionModel().getSelection(). After reconfigure returns selection from previouse store.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •