Results 1 to 3 of 3

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

  1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    61
    Answers
    1
    Vote Rating
    0
      0  

    Default 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
    623
    Answers
    67
    Vote Rating
    29
      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
    61
    Answers
    1
    Vote Rating
    0
      0  

    Default

    Thanks!

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
  •