Hi. It worked, thanks a lot for your help! :)
What's the best practice, add the new data to the store's model or the
controller's model?
Thanks!
rsantiagopaz wrote:
>
>
> Hi. Try
>
> model.get("items").push(qx.data.marshal.Json.createModel(data, true));
>
> But, the Store object have some problems with the conversion JSon->Model.
> Check this
> http://qooxdoo.678.n2.nabble.com/binding-problem-with-Tree-and-Storage-td4938991.html#a4938991
>
> Maybe this affect your application too.
> --
> View this message in context:
> http://qooxdoo.678.n2.nabble.com/Dynamically-add-data-to-model-tp4996943p4997026.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
--
View this message in context:
http://old.nabble.com/Dynamically-add-data-to-model--tp28433005p28433264.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.
------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel