Results 1 to 3 of 3

Thread: dynamic css for combobox

  1. #1
    Sencha User
    Join Date
    Oct 2014
    Posts
    12

    Default dynamic css for combobox

    Using superboxselect based combobox.

    It has a nice property extraItemStyle = 'background:red; color: black;'

    Problem is - its static. Is there a way to get a value from the combobox store in property - so i can use something like: extraItemStyle = 'background:{bgcolor}; color: {txcolor};'

    TPL doesn't work since it creates new element instead of modifying the <li> css so the end result is a smaller colored element inside it.

  2. #2
    Sencha User slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,165

    Default

    Hi,

    User extensions aren't supported by Sencha. You will need to reach out to the extension author directly for support in most cases.

  3. #3
    Sencha User
    Join Date
    Oct 2014
    Posts
    12

    Default

    Well its largely still works like combobox. What i am wondering if there are any other features - or a different way to use tpl ( like overriding parent element css etc).

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
  •