v11.1p_2019-03-14/LGPL
Have recently upgraded from v11.0p_2016-11-15/LGPL and noticed a problem with a vertical scrollbar not showing on a TreeGrid when that TreeGrid is embedded within a Section Stack. This is only when setting canvii to use NativeScrollbar.
The problem can be seen using a modified version of the TreeGrid Show Titles v11.1 showcase example :
https://www.smartclient.com/smartcli...?id=nodeTitles
The following is the modified code to demonstrate the problem :
isc.Canvas.addProperties({
scrollbarConstructor: "NativeScrollbar"
});
isc.TreeGrid.create({
ID: "employeeTree",
width: 500,
height: 400,
dataSource: "employees",
autoFetchData:true,
nodeIcon:"icons/16/person.png",
folderIcon:"icons/16/person.png",
showOpenIcons:false,
showDropIcons:false,
closedIconSuffix:"",
showSelectedIcons:true,
showResizeBar: true,
fields: [
{name: "Name", formatCellValue: "record.Job+': '+value"}
],
dataProperties:{
dataArrived:function (parentNode) {
this.openAll();
}
}
});
isc.SectionStack.create({
ID: "sectionStack",
visibilityMode: "multiple",
width: 500, height: "100%",
border:"1px solid blue",
sections: [
{title: "Employees", expanded: true, items: [ employeeTree ]}
]
});
If this is pasted into the code window and 'Try It' pressed the TreeGrid will be displayed populated but with no vertical scrollbar present. Move the resizebar slightly and the scrollbar will then correctly display.
If the same code is tried in the equivalent v11.0 Showcase example :
https://www.smartclient.com/smartcli...tml#nodeTitles
the verticall scrollbar is displayed correctly on intially showing the TreeGrid.
This problem is also present if the code is tried with the v12.1 Showcase example : https://www.smartclient.com/smartcli...?id=nodeTitles
Could there be something I need to set differently? I've been unable to find any relevant solution within the forum at present.
Best Regards,
David.
Have recently upgraded from v11.0p_2016-11-15/LGPL and noticed a problem with a vertical scrollbar not showing on a TreeGrid when that TreeGrid is embedded within a Section Stack. This is only when setting canvii to use NativeScrollbar.
The problem can be seen using a modified version of the TreeGrid Show Titles v11.1 showcase example :
https://www.smartclient.com/smartcli...?id=nodeTitles
The following is the modified code to demonstrate the problem :
isc.Canvas.addProperties({
scrollbarConstructor: "NativeScrollbar"
});
isc.TreeGrid.create({
ID: "employeeTree",
width: 500,
height: 400,
dataSource: "employees",
autoFetchData:true,
nodeIcon:"icons/16/person.png",
folderIcon:"icons/16/person.png",
showOpenIcons:false,
showDropIcons:false,
closedIconSuffix:"",
showSelectedIcons:true,
showResizeBar: true,
fields: [
{name: "Name", formatCellValue: "record.Job+': '+value"}
],
dataProperties:{
dataArrived:function (parentNode) {
this.openAll();
}
}
});
isc.SectionStack.create({
ID: "sectionStack",
visibilityMode: "multiple",
width: 500, height: "100%",
border:"1px solid blue",
sections: [
{title: "Employees", expanded: true, items: [ employeeTree ]}
]
});
If this is pasted into the code window and 'Try It' pressed the TreeGrid will be displayed populated but with no vertical scrollbar present. Move the resizebar slightly and the scrollbar will then correctly display.
If the same code is tried in the equivalent v11.0 Showcase example :
https://www.smartclient.com/smartcli...tml#nodeTitles
the verticall scrollbar is displayed correctly on intially showing the TreeGrid.
This problem is also present if the code is tried with the v12.1 Showcase example : https://www.smartclient.com/smartcli...?id=nodeTitles
Could there be something I need to set differently? I've been unable to find any relevant solution within the forum at present.
Best Regards,
David.
Comment