Ext.ux.AccordionList icon indicating copy to clipboard operation
Ext.ux.AccordionList copied to clipboard

Add data through AccordianListItem

Open aqeeliz opened this issue 10 years ago • 1 comments

I am using AccordianList with 'useComponents' set to true.

I can display a JSON data through TreeStore, and even add a new Node with some default data (by adding it to TreeStore), but I can't figure out how to get the changed/updated data from the node.

For example: From your example: http://docs.kawanoshinobu.com/accordionlist/, in Components Tab, select Project B, and change 'Hello' to 'Good Morning', how can I update that record in TreeStore?

aqeeliz avatar Apr 28 '14 13:04 aqeeliz

Not a good approach, but here what I did, when at "AccordianList", I did list = me.getAt(0).getAt(0).getAt(0) to get the actual list, then list.getItem() gave me all the expanded elements. Some more dirty coding and I can now add and edit item to AccordianList.

Any suggestions or pointers for a better approach to get this done?

aqeeliz avatar Apr 30 '14 14:04 aqeeliz