Announcement

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

    Column Tree question

    Run the following sample. Double click on the first record. This should expand Charles. Now click on the button "CLick". You'll notice the records change to "root". Question is, is this expected behaviour? When re-fetching, am I supposed to be hiding that expanded column? It looks like a criteria is added without me specifying it.

    Code:
    isc.ColumnTree.create({
        ID: "employeeColTree",
        width: "100%",
        height: 205,
        dataSource: "employees",
        autoFetchData:true,
        nodeIcon:"icons/16/person.png",
        folderIcon:"icons/16/person.png",
        showOpenIcons:false,
        showDropIcons:false,
        closedIconSuffix:"",
        showHeaders: true,
        showNodeCount: true
    });
    //employeeColTree.fetchData();
    
    //var mycriteria = {ReportsTo: ["1", "4"]};
     
    isc.IButton.create({
    title: "Click",
    top: 300,
    click: function() {
    employeeColTree.fetchData();
    employeeColTree.markForRedraw();
    }
    });
    I used the datasource from this sampleisomorphic/system/reference/SmartClient_Explorer.html#_Trees_Data.binding_Load.on.Demand
    Last edited by acarur01; 29 Feb 2012, 07:35.

    #2
    You guys must still be really busy - the response time on the forum has gone down considerably.

    Comment


      #3
      Sorry for the lag in responding to you. This has been assigned to a developer for investigation but we never let you know. You can expect a proper response today.

      Comment


        #4
        This should now be resolved. Please try the next nightly build (dated March 3 or greater)
        (Fix applied to 8.2p and 8.3d branches)

        Comment


          #5
          Thanks a lot. Will test with the latest build.

          Comment

          Working...
          X