On a leaf node of a TreeGrid with a 'checkbox' selectionAppearnce and showOpener set to false does not select/deselect a record when the checkbox is clicked. The record can only be select/deselect by clicking on the nodeIcon of that record.
It seems the offset of the mouse event is not calculated properly when determining if the click actually happens in the checkbox area when showOpener is set to false.
Problem can be reproduced on a slighty modified SmartClient Node Titles example on http://www.smartclient.com/#nodeTitles using SmartClient Version: v9.1p_2015-01-08/Pro Deployment (built 2015-01-08) on Firefox 34/35 and Chrome 39.0 as follows:
A temporary workaround seems to be setting the openerIconSize to 1 but that is not very intuitive and is not documented in the API reference.
----------------
SmartClient Version: v9.1p_2015-01-08/Pro Deployment (built 2015-01-08)
Windows 7 Firefox 34.0.5, 35.0 and Chrome 39.0.2171.99 m
It seems the offset of the mouse event is not calculated properly when determining if the click actually happens in the checkbox area when showOpener is set to false.
Problem can be reproduced on a slighty modified SmartClient Node Titles example on http://www.smartclient.com/#nodeTitles using SmartClient Version: v9.1p_2015-01-08/Pro Deployment (built 2015-01-08) on Firefox 34/35 and Chrome 39.0 as follows:
Code:
isc.TreeGrid.create({
ID: "employeeTree",
width: 500,
height: 400,
dataSource: "employees",
selectionAppearance: 'checkbox',
showOpener: false,
autoFetchData:true,
nodeIcon:"icons/16/person.png",
folderIcon:"icons/16/person.png",
showOpenIcons:false,
showDropIcons:false,
closedIconSuffix:"",
fields: [
{name: "Name", formatCellValue: "record.Job+': '+value"}
]
});
Code:
openerIconSize: 1
SmartClient Version: v9.1p_2015-01-08/Pro Deployment (built 2015-01-08)
Windows 7 Firefox 34.0.5, 35.0 and Chrome 39.0.2171.99 m
Comment