Results 1 to 4 of 4

Thread: Adding sencha fields in itemTpl

  1. #1
    Sencha User
    Join Date
    Feb 2014
    Posts
    102

    Default Adding sencha fields in itemTpl

    I have a situation where i need to use sencha fields in itemtpl of a view.
    Is it possible?

    Thanks in advance.

  2. #2
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    4,108

    Default

    You could use a component dataview.
    http://docs.sencha.com/touch/2.3.1/#...onent-dataview
    Get more personalized support via a support subscription.

    Need more help with your app? Hire Sencha Services [email protected]

    When posting code, please use BBCode's CODE tags.

    Need to include a test case use:
    The official Sencha Fiddle

  3. #3
    Sencha User
    Join Date
    Apr 2013
    Location
    Hyderabad
    Posts
    37

    Default

    I have the same requirement too.
    I need the tpl to be dynamic. I need to add as many textbox /checkbox/datfields/radiobuttons/dropdowns as decided in the store and the order and grouping also changes depending on certain parameters.
    Is there a method in which i can do this by using sencha components instead of normal HTML components?

    Thanks in advance.
    Abhi.
    --
    Abhi

  4. #4
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    4,108

    Default

    You may be able to come up with a custom solution like this user did using renderTo config to render the components to a div. http://andreitara.com/2012/10/sencha...ide-xtemplate/
    Get more personalized support via a support subscription.

    Need more help with your app? Hire Sencha Services [email protected]

    When posting code, please use BBCode's CODE tags.

    Need to include a test case use:
    The official Sencha Fiddle

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
  •