Results 1 to 3 of 3

Thread: Modern: Removing items from grouped list throws an error

    Success! Looks like we've fixed this one. According to our records the fix was applied for a bug in our system in a recent build.
  1. #1
    Sencha Premium Member
    Join Date
    Jul 2015
    Posts
    5

    Default Modern: Removing items from grouped list throws an error

    Ext version tested:
    • Ext 6.0.1.250 Modern

    Browser versions tested against:
    • chrome

    DOCTYPE tested against:
    • HTML

    Description:
    When trying to remove all items from the store of the list, when list has grouped property set to true, results in 'Uncaught TypeError: Cannot read property 'getHeader' of undefined' error.
    If you remove store items silently with store.removeAll(true) the error is not thrown. This can be seen in the fiddle below.
    Error also happens when using viewmodel and data binding on the list, and trying to update the data through the viewmodel.
    In the viewmodel case you can't use the silent method. Or atleast I couldn't figure out how to do it.
    Seems to be same bug as https://www.sencha.com/forum/showthr...ght-TypeError-...

    Steps to reproduce the problem:

    The result that was expected:
    • No errors should be thrown when updating list items.

  2. #2

    Default

    Looks like this was fixed in our latest nightly. Thanks for taking the time to report it!

  3. #3
    Sencha Premium User
    Join Date
    Sep 2016
    Posts
    1

    Default How did you do this?

    Quote Originally Posted by alex.volfson View Post
    Looks like this was fixed in our latest nightly. Thanks for taking the time to report it!
    I need to solve this now, can you please tell me how did you solved it.

    thanks.

Similar Threads

  1. Replies: 1
    Last Post: 2 Sep 2015, 11:43 AM
  2. Dynamically adding/removing 'grouped' & 'indexBar' to/from a List
    By shellgrit in forum Sencha Touch 1.x: Discussion
    Replies: 9
    Last Post: 13 Oct 2011, 6:24 AM
  3. Replies: 1
    Last Post: 8 Jun 2011, 1:18 AM
  4. Replies: 0
    Last Post: 3 Dec 2010, 7:06 AM
  5. [CLOSED-179] Grouped list throws error when scrolled up.
    By elishnevsky in forum Sencha Touch 1.x: Bugs
    Replies: 4
    Last Post: 29 Jul 2010, 9:35 AM

Tags for this Thread

Posting Permissions

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