SmartClient Version: v12.0p_2021-08-08/Pro Deployment (built 2021-08-08)
Chrome Version 99.0.4844.74 (Official Build) (64-bit)
Hi, I have been trying to add predefined sorts on tree fields. I took the current example at this link 'https://www.smartclient.com/smartclient/showcase/?id=treesSorting' and added a sort on the "Jobs" field. The tree did not get sorted.
I also tried adding it on the name fields etc. But the tree still did not respect the sort order. Manually clicking on the tree fields did sort the tree and multi-sort also works fine when manually selecting several columns.
Can you confirm that this is a bug and will get resolved in some future build.
Chrome Version 99.0.4844.74 (Official Build) (64-bit)
Hi, I have been trying to add predefined sorts on tree fields. I took the current example at this link 'https://www.smartclient.com/smartclient/showcase/?id=treesSorting' and added a sort on the "Jobs" field. The tree did not get sorted.
I also tried adding it on the name fields etc. But the tree still did not respect the sort order. Manually clicking on the tree fields did sort the tree and multi-sort also works fine when manually selecting several columns.
Can you confirm that this is a bug and will get resolved in some future build.
isc.TreeGrid.create({
ID: "employeeTree",
width: 500,
height: 400,
dataSource: "employees",
nodeIcon:"icons/16/person.png",
folderIcon:"icons/16/person.png",
showOpenIcons:false,
showDropIcons:false,
closedIconSuffix:"",
autoFetchData:true,
showSelectedIcons:true,
autoOpenTree: "all",
dataProperties:{
loadDataOnDemand:false
},
fields: [
{name: "Name", sortDirection : 'ascending'},
{name: "Job"},
{name: "Salary", formatCellValue: "isc.NumberUtil.format(value, '\u00A4,0.00')"}
]
});
ID: "employeeTree",
width: 500,
height: 400,
dataSource: "employees",
nodeIcon:"icons/16/person.png",
folderIcon:"icons/16/person.png",
showOpenIcons:false,
showDropIcons:false,
closedIconSuffix:"",
autoFetchData:true,
showSelectedIcons:true,
autoOpenTree: "all",
dataProperties:{
loadDataOnDemand:false
},
fields: [
{name: "Name", sortDirection : 'ascending'},
{name: "Job"},
{name: "Salary", formatCellValue: "isc.NumberUtil.format(value, '\u00A4,0.00')"}
]
});
Comment