EDIT: I posted this on the wrong forum - very sorry; I'll post it on the proper one :(
We're updating our look and using Tahoe as a starting point - which uses the cool sprite icon feature to show checkboxes.
We've encountered a case when it seems SmartClient doesn't handle the sprite as expected.
We've reproduced with "v12.0p_2019-10-06/Pro Deployment" and the Tahoe skin using the following code:
In this example, the second entry in the tree is not selectable. You'll see in the debug log that it tried (and failed) to load the image: "/images/_Disabledsprite:cssClass:checkboxFalse;size:25,25"
If it is of any help, I've traced it down to Img.urlForState, which does not seem to support the "sprite:" prefix.
Thanks!
Regards,
--
Eric
We're updating our look and using Tahoe as a starting point - which uses the cool sprite icon feature to show checkboxes.
We've encountered a case when it seems SmartClient doesn't handle the sprite as expected.
We've reproduced with "v12.0p_2019-10-06/Pro Deployment" and the Tahoe skin using the following code:
Code:
var treeData = [ { index: 0, id: "business_alert_subscriptions", parentId: "1", name: "Alert Subscriptions", }, { canSelect : false, index: 1, id: "dashboard", parentId: "1", name: "Dashboard", }, { index: 2, id: "PLANNING", parentId: "1", name: "Planning & Analysis", } ]; isc.TreeGrid.create({ ID: "testTree", width: 500, height: 400, showRoot : true, selectionAppearance: 'checkbox', showDisabledSelectionCheckbox : true, }); testTree.setData(isc.Tree.create(treeData));
If it is of any help, I've traced it down to Img.urlForState, which does not seem to support the "sprite:" prefix.
Thanks!
Regards,
--
Eric
Comment