Results 1 to 2 of 2

Thread: ExtJS 6.5.2 mobile toolkit. Customize itemTpl config in custom component

  1. #1
    Sencha User
    Join Date
    Oct 2017
    Posts
    26
    Answers
    1

    Default ExtJS 6.5.2 mobile toolkit. Customize itemTpl config in custom component

    I have custom version of `Ext.dataview.List` component and i want to append to `itemTpl` config some tpl. In classic toolkit i could modify configs in `initComponent` method. From what i'm understand, in modern toolkit, components have `initialize` method for this -- but when i append additional tpl to `itemTpl`, additional tpl is not displayed, like it wasn't added at all. My question is, how and where could i modify `itemTpl` config for modern toolkit components?

  2. #2
    Sencha User
    Join Date
    Apr 2013
    Posts
    143
    Answers
    5

    Default

    `setItemTpl()` on runtime, or `config.itemTpl = ...` in constructor

Similar Threads

  1. Replies: 2
    Last Post: 15 Feb 2017, 10:01 AM
  2. [CLOSED] Component Config - Add custom property issues
    By markofsine in forum Sencha Architect 2.x: Bugs
    Replies: 3
    Last Post: 21 Feb 2012, 12:27 PM

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
  •