Kirill Bubochkin
Kirill Bubochkin

Reputation: 6343

How to render form field inside list item in sencha touch 2

I have a List with elements. How can I render formfield inside list item, so that when user clicks on list item, this field gets focus, and user can enter a value.

Upvotes: 0

Views: 578

Answers (1)

fuzzyLikeSheep
fuzzyLikeSheep

Reputation: 473

I suppose in the itemTpl config on your list you can add html input / text fields

        xtype:'list',
        disableSelection:true,
        store: 'Store',
        itemTpl:'<TR><TH>INFO</TH><TD><INPUT TYPE="TEXT" NAME="name" SIZE="20"></TD></TR>' ,

Upvotes: 1

Related Questions