1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    54
    Vote Rating
    0
    Answers
    1
    indapublic is on a distinguished road

      0  

    Default Answered: How add some badge text on the items in List?

    Answered: How add some badge text on the items in List?


    Adding class 'x-badge' in itemTpl is not working.
    Code:
    xtype: 'list',
    itemId: 'listMainMenu',
    store: 'storeMainMenu',
    fullscreen: false,
    itemTpl: '<span class="x-badge ">{BadgeText}</span>'

  2. You may try:

    itemTpl : '<div class="x-hasbadge"><span class="x-badge ">{BadgeText}</span></div>'

  3. #2
    Sencha User bluehipy's Avatar
    Join Date
    Mar 2010
    Location
    Romania
    Posts
    618
    Vote Rating
    29
    Answers
    67
    bluehipy will become famous soon enough bluehipy will become famous soon enough

      0  

    Default


    You may try:

    itemTpl : '<div class="x-hasbadge"><span class="x-badge ">{BadgeText}</span></div>'

  4. #3
    Sencha User
    Join Date
    Jul 2012
    Posts
    54
    Vote Rating
    0
    Answers
    1
    indapublic is on a distinguished road

      0  

    Default


    Thanks!

Thread Participants: 1

Tags for this Thread