1. #1
    Sencha Premium Member
    Join Date
    Apr 2012
    Posts
    8
    Vote Rating
    0
    ramirez is on a distinguished road

      0  

    Default Unanswered: How to Create a Radio Tree Panel

    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
    8,868
    Answers
    652
    Vote Rating
    438
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      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

Thread Participants: 1