1. #1
    Sencha User
    Join Date
    Aug 2011
    Posts
    88
    Answers
    3
    Vote Rating
    0
    Marc-QNX is on a distinguished road

      0  

    Default Answered: How to set a component dataitem field to something other than a record field?

    Answered: How to set a component dataitem field to something other than a record field?


    I have a component dataview, and I am trying to do something like this in the dataitem:

    Code:
       dataMap: {
          getText: {
             setHtml: function() {
                 return 'do some operations here';
             }
          },
       }
    Is there any way to do something like this -- or any other way to set the value of a field to something other than a field of the record?

  2. A solution (well, two) for others viewing this...

    http://www.sencha.com/forum/showthre...onent+dataitem

  3. #2
    Sencha User
    Join Date
    Aug 2011
    Posts
    88
    Answers
    3
    Vote Rating
    0
    Marc-QNX is on a distinguished road

      0  

    Default


    A solution (well, two) for others viewing this...

    http://www.sencha.com/forum/showthre...onent+dataitem