Results 1 to 4 of 4

Thread: TreePanel with checkbox

  1. #1
    Sencha User
    Join Date
    Sep 2012
    Posts
    3
    Vote Rating
    0
      0  

    Default TreePanel with checkbox

    Hi,

    I am using extjs 3.1. I want use Ext.tree.TreePanel with multiple checkbox.
    I got some reference this link http://crepitus.com/misc/ext/tree.html. Event i am getting some javaacript error.
    Message: 'Ext.tree.TreePanel.prototype' is null or not an object
    Line: 23
    Char: 1
    Code: 0
    URI: http://localhost:8080/sirius/resourc...eeCheckNode.js


    Message: Object doesn't support this property or method
    Line: 17
    Char: 4451
    Code: 0
    URI: http://localhost:8080/sirius/resource/js/ext-all_1_1.js

    how to solve this error?.

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

    Default

    Several comments:

    Is this UX compatible with 3.1? There is no information concerning this.
    Have you included these files in your uses?
    Have you tried to contact the author?

    We typically do not debug components from other sources.

    Scott.

  3. #3
    Sencha User
    Join Date
    Sep 2012
    Posts
    3
    Vote Rating
    0
      0  

    Default Ext.tree.TreePanel data load problem

    Hi ,

    I am using this component Ext.tree.TreePanel. When you load Json String this line root.firstChild.expand(false), and this Ext.get('exp') is null or not an object. How to solve this problem.


    root.expand(false, false, function() {
    root.firstChild.expand(false);
    Ext.get('cn').dom.value = tree.getChecked().join(',');
    ser();
    });


    Ext.get('exp').on('click', function() {
    tree.expandAll();
    });



    Thanks & Regards
    Ramesh

  4. #4
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,388
    Vote Rating
    499
      0  

    Default

    What is 'cn' and 'exp'? DOM elements? Are you sure you should not be using Ext.getCmp()?

    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
  •