Open dbanka opened 7 years ago
Hi!
If you're using an items
array, you can call table.set('items.0.foo', 'bar)
(replace 0
with approriate item index) to update a particular property of a single item. Likewise, table.set('items.0', newItem)
works also as long as the newItem
is a new object.
With a function data source the same approach works, but you need to update using a private internal property _cachedItems
instead of items
I want to update the data and properties of a particular row only. How can I do that?