Results 1 to 6 of 6

Thread: Hilight Checked nodes / Items

  1. #1
    Sencha User
    Join Date
    Oct 2011
    Location
    Paris, France
    Posts
    33
    Answers
    1

    Question Answered: Hilight Checked nodes / Items

    Hi all,
    First, Happy new year !

    I would like to know if there is a way hilight all the checked node of a tree(panel).

    Thank's in advance

    Regards

    near

  2. The tree is a table... eacy row is a tr and a td. If a node is checked, the associated td get a CSS class name of 'x-tre-checked'

  3. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,379
    Answers
    3997

    Default

    The tree is a table... eacy row is a tr and a td. If a node is checked, the associated td get a CSS class name of 'x-tre-checked'
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

  4. #3
    Sencha User
    Join Date
    Oct 2011
    Location
    Paris, France
    Posts
    33
    Answers
    1

    Default

    Thank's for the ansswer,
    I've tried this:
    Code:
     .x-tre-checked{    background-color: rgb(255,255,0) !important;
    }
    or
    Code:
     .x-tre-checked{    background-color: red !important;
    }
    in my css file, but it's not working, but it's not working !

  5. #4
    Sencha User
    Join Date
    Oct 2011
    Location
    Paris, France
    Posts
    33
    Answers
    1

    Default

    actually it's 'x-tree-checked' and 'not x-tre-checked'

    Thank's

  6. #5
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,379
    Answers
    3997

    Default

    so it's working with 'x-tree-checked'?
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

  7. #6
    Sencha User
    Join Date
    Oct 2011
    Location
    Paris, France
    Posts
    33
    Answers
    1

    Thumbs up

    Yes !

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
  •