How to change a PanelBar Image

2 posts, 1 answers
  1. Omar
    Omar avatar
    6 posts
    Member since:
    Sep 2012

    Posted 09 Jul 2014 Link to this post

    I am planning to use Panel bars with section of user input fields, a verification will happen for each section and a the image of the panel should show error or success validation result.

    How can I change a panel bar image using javascript.

  2. Answer
    Kiril Nikolov
    Kiril Nikolov avatar
    2543 posts

    Posted 11 Jul 2014 Link to this post

    Hello Omar,

    The expand/collapse icons are set with background-image - which is a sprite and background-position. You can adjust these CSS rules in order to achieve the functionality that you are looking for. Please check the attach project that I created as a reference.

    Kiril Nikolov
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top