[CLOSED] Rowclick event on leafnode row and change background color of leafnode row containing configitem.

  1. #1

    [CLOSED] Rowclick event on leafnode row and change background color of leafnode row containing configitem.

    Rowclick event on leafnode row and change background color of leafnode row containing configitem


    https://examples2.ext.net/#/TreePane...nced/TreeGrid/
    Last edited by Daniil; May 14, 2013 at 3:34 AM. Reason: [CLOSED]
  2. #2
    Hi @UT007,

    To catch a click on a node, please listen to a TreePanel's ItemClick event.

    To check a node is leaf or not, please use its isLeaf method.
    http://docs.sencha.com/extjs/4.2.0/#...-method-isLeaf

    To colorize a cell you can use a Column's Renderer or a TreeView's GetRowClass.
    http://docs.sencha.com/extjs/4.2.0/#...n-cfg-renderer
    http://docs.sencha.com/extjs/4.2.0/#...od-getRowClass

Similar Threads

  1. [CLOSED] Change background color of button
    By Pablo_Azevedo in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Apr 17, 2013, 2:17 PM
  2. [CLOSED] Change TreePanel background color and toolbar color
    By jchau in forum 2.x Legacy Premium Help
    Replies: 5
    Last Post: Dec 07, 2012, 4:42 PM
  3. Replies: 2
    Last Post: Dec 29, 2011, 2:11 AM
  4. Replies: 12
    Last Post: Jun 17, 2009, 12:07 PM
  5. Change Tab background color or background image
    By georgelanes in forum 1.x Help
    Replies: 0
    Last Post: Nov 06, 2008, 3:55 PM

Tags for this Thread

Posting Permissions