Thank you for reporting this bug. We will make it our priority to review this report.
-
Sencha User
gridcolumn tpl not updated
Hi, I have a grid with a column like this:
Code:
columns: [{
text: "My column",
tpl: '{[values.subel.subprop]}', ...
If I change the value of "subprop" (ie if I change the data of the record) the cell is not updated.
On the other hand if I define the column like this:
Code:
columns: [{
text: "My column",
cell: {
xtype: 'widgetcell',
widget: {
xtype: 'label',
bind: '{record.subel.subprop}'
}
}
}, ...
...it works as expected.
Thanks,
Marco
-
Please post a test case.
How are you changing the value?
Twitter - @evantrimboli
Former Sencha framework engineer, available for consulting.
As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.
-
Sencha User
Hi, I'm using bind, in my detail view, to match record fields with ui components.
If I take a look at the record data (inside the list's store) it's ok, I can see the updated value (once changed obviously).
Ok, I might take some time in the next days to set up a test case...
Thank you,
Marco
-
The important part is how the value is changed. Unless the view can be notified in some way it can't be updated.
Twitter - @evantrimboli
Former Sencha framework engineer, available for consulting.
As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.