Hello,
I have a Hierarchical Data Source and work fine for display in ListView.
I can also CRUD the root level without problem. However, I could not update the second level (node.children).
No mater tried node.children.sync(), or even the top <Hierarchical Data Source>.sync(), the update function of transport had not been triggered.
I tried modify a child record: node.children.at(0).set('newKey', 'newValue'). node.children.hasChanges() retuned True. After node.children.sync(), node.children.hasChanges() retuned False. But Transport.update had not been triggered so that nothing was written into datasource.
Any idea?
I have a Hierarchical Data Source and work fine for display in ListView.
I can also CRUD the root level without problem. However, I could not update the second level (node.children).
No mater tried node.children.sync(), or even the top <Hierarchical Data Source>.sync(), the update function of transport had not been triggered.
I tried modify a child record: node.children.at(0).set('newKey', 'newValue'). node.children.hasChanges() retuned True. After node.children.sync(), node.children.hasChanges() retuned False. But Transport.update had not been triggered so that nothing was written into datasource.
Any idea?