1. #11
    Ext User
    Join Date
    Jan 2009
    Posts
    3
    Vote Rating
    0
    YuraIM is on a distinguished road

      0  

    Default Change set in default value (cascadeCheck)

    Change set in default value (cascadeCheck)


    Hi,

    a Ext.ux.tree.CheckTreePanel does not work correctly at the change of parameter cascadeCheck(Check/uncheck also child nodes.)

    Ths

  2. #12
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,138
    Vote Rating
    321
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    I don't understand what you mean by "does not work correctly". Please elaborate.

  3. #13
    Ext User
    Join Date
    Jan 2009
    Posts
    3
    Vote Rating
    0
    YuraIM is on a distinguished road

      0  

    Default


    Quote Originally Posted by jsakalos View Post
    I don't understand what you mean by "does not work correctly". Please elaborate.
    change parameters: "cascadeCheck:'all'" and checked node tree, rezult - browsers irresponsive on further actions(an error here is not generated)

  4. #14
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,138
    Vote Rating
    321
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    Quote Originally Posted by YuraIM View Post
    change parameters: "cascadeCheck:'all'" and checked node tree, rezult - browsers irresponsive on further actions(an error here is not generated)
    It is race condition between cascadeCheck and bubbleCheck. Set cascadeCheck:'all' and bubbleCheck:'none' and it will work.

  5. #15
    Ext User
    Join Date
    Jan 2009
    Posts
    3
    Vote Rating
    0
    YuraIM is on a distinguished road

      0  

    Default


    Quote Originally Posted by jsakalos View Post
    It is race condition between cascadeCheck and bubbleCheck. Set cascadeCheck:'all' and bubbleCheck:'none' and it will work.
    thanks

  6. #16
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,251
    Vote Rating
    73
    Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold

      0  

    Default


    Maybe we should merge your code an my Tri-state tree user extension?

    My extension supports a grayed (partial) state and bubbling + cascading (but not configurable as your extension).

    ps. Small bug: Double-click on the checkbox both checks/unchecks and expands/collapses the node.

  7. #17
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,138
    Vote Rating
    321
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    I've taken your code, crediting you in comments, but I didn't want tri-state functionality. Anyway, if you have an idea how to merge them an easy way, let me know. Best is skype, nick jsakalos.

    Re bug: I'll take a look.

  8. #18
    Sencha - Training Team mrsunshine's Avatar
    Join Date
    Sep 2008
    Location
    Germany - Darmstadt
    Posts
    690
    Vote Rating
    12
    mrsunshine will become famous soon enough

      0  

    Default


    Where i have to add a event listeners to get the 'onCheckboxClick' Event?

    PHP Code:
    Test Ext.extend(Ext.ux.tree.CheckTreePanel, {    
         
    initComponent: function(){
             
    Ext.apply(this, {
                 
    listeners: {
                        
    onCheckboxClick: function(node){
                                
    console.log('node:',node);
                        }
                               
                 },
                 
    height150,
                 
    autoScroll:true
                
    ,rootVisible:false
                
    ,root:{
                     
    nodeType:'async'
                 

    ... 
    The place in my example doesn't work

    regards

    nils

  9. #19
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,138
    Vote Rating
    321
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

  10. #20
    Sencha - Training Team mrsunshine's Avatar
    Join Date
    Sep 2008
    Location
    Germany - Darmstadt
    Posts
    690
    Vote Rating
    12
    mrsunshine will become famous soon enough

      0  

    Default


    Quote Originally Posted by jsakalos View Post
    yes i did, an i had read it,
    but i thought there would be a onCheckboxClick event fired but it only fire a click event with which i have no problems to add a eventhandler to.

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar