Results 1 to 2 of 2

Thread: How to Create a Radio Tree Panel

  1. #1
    Sencha Premium Member
    Join Date
    Apr 2012
    Posts
    8
    Vote Rating
    1
      0  

    Default Unanswered: How to Create a Radio Tree Panel

    In ExtJs 3, I could create a Radio Tree Panel instead of a Checkbox in a Tree Panel, by extending the Ext.tree.TreeNodeUI then overriding the rendering by using an radio input type instead.

    Code:
    Ext.extend(Ext.ux.tree.RadioNode, Ext.tree.TreeNodeUI, {    
        render : function(bulkRender){
        ...
        ...
        }
    }
    But in ExtJs 4, Ext.tree.TreeNodeUI no longer exist. I am suspecting that the code I should override is the Ext.tree.View, but by looking at its source code, I dont see anything that creates a checkbox or something like it. Maybe I am missing it or probably, I should be looking somewhere else. Which is why I posted this question here.

    I will highly appreciate if someone could point me into the right direction. Thank you very much in advance.

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,389
    Answers
    716
    Vote Rating
    497
      0  

    Default

    You will need to construct this yourself. Here are some thoughts on how to get started:
    http://www.sencha.com/forum/showthread.php?202229

    Regards,
    Scott

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •