Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    DOCs Help

    Hello,
    One question,

    Follow one of yours examples:
    Code:
    isc.TreeGrid.create({
        ID: "employeeTree",
        data: isc.Tree.create({
            modelType: "parent",
            nameProperty: "Name",
            idField: "EmployeeId",
            parentIdField: "ReportsTo",
            data: [
                {EmployeeId:"4", ReportsTo:"1", Name:"Charles Madigen"},
                {EmployeeId:"188", ReportsTo:"4", Name:"Rogine Leger"},
                {EmployeeId:"189", ReportsTo:"4", Name:"Gene Porter"},
                {EmployeeId:"265", ReportsTo:"189", Name:"Olivier Doucet"},
                {EmployeeId:"264", ReportsTo:"189", Name:"Cheryl Pearson"}
            ]
        }),
        fields: [
            {name: "Name"}
        ],
    
        // customize appearance
        width: 500,
        height: 400,
        nodeIcon:"icons/16/person.png",
        folderIcon:"icons/16/person.png",
        showOpenIcons:false,
        showDropIcons:false,
        showSelectedIcons:true,
        closedIconSuffix:""
    });
    
    employeeTree.getData().openAll();
    See the line
    employeeTree.getData().openAll();

    Well, I tried to find in the TreeGrid API list the methods getData () and openAll () and couldn't find them.

    Where and how to find help of all methods and attributes that exist for the controls?

    Hugs

    #2
    Please take a look at the QuickStart Guide and the SmartClient Reference. There is also a FAQ in the forums.

    Comment

    Working...
    X