Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: How to insert a picture on the condition itemtpl

  1. #11
    Sencha User
    Join Date
    Jul 2013
    Posts
    99
    Vote Rating
    10
      0  

    Default

    1. doplStatus is incorrectly placed inside curly braces: '{ doplStatus: ...'
    2. In your function calls, 'this.data' will do nothing. To access a property of the model you passed as the arrgument: value.someProperty.

  2. #12
    Sencha User
    Join Date
    Oct 2013
    Location
    Minsk
    Posts
    43
    Vote Rating
    0
      0  

    Default

    I'm sorry ... I do not know much yet to learn ... Could you give me the code my mistakes ... I would be very grateful to you.

  3. #13
    Sencha User
    Join Date
    Jul 2013
    Posts
    99
    Vote Rating
    10
      0  

    Default

    The mistakes are:

    1. Curly braces around your function names are only around the 'doplStatus' function. The closing curly brace should be after your last function
    2. The way you reference data in your function is incorrect, I gave an example of how to correctly reference a value in my previous reply

Page 2 of 2 FirstFirst 12

Tags for this Thread

Posting Permissions

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