neomjs / neo

The application worker driven frontend framework
https://neomjs.com
MIT License
2.83k stars 151 forks source link

tree.List: onStoreRecordChange() #5615

Closed tobiu closed 1 month ago

tobiu commented 1 month ago

I did add onStoreRecordChange() a long time after creating tree.List. The base class logic can not work in this scenario, so we need an override.

tobiu commented 1 month ago

first PoC, which allows us to change the name field of a tree list record.

Screenshot 2024-07-22 at 20 04 23

next step: we need to create the method createItem() => moving the related code out of createItems(), which the record change logic then can re-use.