Hello all,

I am trying to concatenate two fields of a record separated by a space to a single setter in of my dataitem. More specifically specifically, I am trying to set the label of a check box to the concatenation of the 'Name' field and the time portion of the 'Date' field of a record. Here is some code.

Code:
Ext.define('mobile.view.Item', 
{
    extend: 'Ext.dataview.component.DataItem',
    xtype: 'item',


    config: 
    {        
        isCompleted:
        {
            labelWidth:'90%',
        },
        {           
            getCompleted: 
            {
                setLabel: 'Name' + ' ' +Ext.Date.format('Date',"g:i a"),   <--- AREA OF INTEREST
                setChecked: 'Completed'
            }
        },
        layout: 
        {
            type: 'hbox',
            align: 'center'
        },
    },
    applyCompleted: function(config) 
    {
        return Ext.factory(config, Ext.field.Checkbox, this.getCompleted());
    },


    updateCompleted: function(newCompleted, oldCompleted) 
    {
        if (oldCompleted) 
        {
            this.remove(oldCompleted);
        }


        if (newCompleted) 
        {
            this.add(newCompleted);
        }
    }
});
In a perfect world, the line.....
setLabel: 'Name' + ' ' +Ext.Date.format('Date',"g:i a")
Would set the label of a check box to the name and time portion of a record. For example,
if a record had a field 'Name' with the value "John" and the field 'Date' with "1/10/2007 03:05:01 PM GMT-0600", then the label of this check box would display

"LABEL" "CHECK"
[John 3:05 pm | X ]

How would I go about getting the desired output?