Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

TreeGrid bugs on demo site

$
0
0
Replace code in this demo with my example below
http://www-demos.smartclient.com/iso...tml#freezeTree

Bug 1: resizeFieldsInRealTime: false does not take effect with autoFitWidthApproach: "both" and the columns resize in real time (which is a performance problem for us). Seems that resizeFieldsInRealTime: false only takes effect when autoFitWidthApproach: "value"

Bug 2: in the same example when grid loads - fields do not auto fit until I expand root node

Here is an example:
Code:

isc.TreeGrid.create({
    ID: "employeeTree",
    width:500, height:224,
    dataSource: employees,
    autoFetchData:true,
    canFreezeFields:true,
    canReparentNodes:true,
    fields:[
        {name:"Name"},
       
        {name:"Email"},
        {name:"Job"}
    ],


        autoFitFieldWidths: true,
        autoFitFieldsFillViewport: false,
        resizeFieldsInRealTime: false,
        autoFitWidthApproach: "both"

});


Viewing all articles
Browse latest Browse all 4756

Trending Articles