Results 1 to 4 of 4

Thread: gridcolumn tpl not updated

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1

    Default 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

  2. #2
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,255

    Default

    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.

  3. #3

    Default

    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

  4. #4
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,255

    Default

    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.

Similar Threads

  1. Gridcolumn enable/disable
    By mirkotus in forum Ext: Q&A
    Replies: 1
    Last Post: 13 Jan 2014, 10:18 PM
  2. lock on gridcolumn
    By angelo88 in forum Ext: Q&A
    Replies: 2
    Last Post: 10 Jul 2013, 2:17 PM
  3. gridColumn Model in ExtJS 4
    By Ext4InAction in forum Ext: Discussion
    Replies: 2
    Last Post: 30 Jun 2011, 4:38 PM
  4. Image in gridcolumn with CSS
    By Gunny in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 22 Jan 2010, 9:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •