mercredi 8 avril 2015

TreeStore remove doesn't work correctly

Hello.

I noticed in Ext 5.1.0 there's a 'remove' method on tree store: http://ift.tt/1GnKrt4 which wasn't available in 4.2.



There's a problem with this method: when you remove child node, and collapse/expand parent you see it again. If record is removed using it's own 'remove' method, everything is fine.



Steps to reproduce:

  1. In this fiddle http://ift.tt/1GnKrt6 click 'remove' button

  2. You'll see record is removed but record 'First' is not a leaf node

  3. collapse and expand this node - 'Second' is visible again


Bug or TreeStore shouldn't have 'remove' method?





TreeStore remove doesn't work correctly

Aucun commentaire:

Enregistrer un commentaire