Hi Isomorphic,
We are trying to upgrade to the latest 9.0 SmartClient build (from 10-30) and noticing some UI changes.
One that I am seeing now (more might come later) is having a TreeGrid with nodeIcon and folderIcon set to null, there is an extra gap between the +/- icon and the label of the tree node, unlike in 8.3. Here is a code sample to reproduce and see the difference between 9.0 and 8.3. Is there a simple property I need to set to remove this gap?
We are trying to upgrade to the latest 9.0 SmartClient build (from 10-30) and noticing some UI changes.
One that I am seeing now (more might come later) is having a TreeGrid with nodeIcon and folderIcon set to null, there is an extra gap between the +/- icon and the label of the tree node, unlike in 8.3. Here is a code sample to reproduce and see the difference between 9.0 and 8.3. Is there a simple property I need to set to remove this gap?
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"}
]
}),
// customize appearance
width: 500,
height: 400,
nodeIcon:null,
folderIcon:null,
showOpenIcons:false,
showDropIcons:false,
closedIconSuffix:""
});
employeeTree.getData().openAll();
Comment