Version : Version v9.0p_2013-08-05/PowerEdition Development Only (2013-08-05)
By default, (as per your doc) only one group will be expanded after group by operation. But i am seeing 2 groups expanded.
Here is the steps to reproduce.
Load the below test case
Freeze <Region> column
Open highlit tool
Add the following
<Region> - <contains> - <United>
<Text> = #FFFF00 - <Background> = #006300
Save the tool
Group by <Region> column
Group's name is not highlighted
Collapse and Expand, then group's name will be highlighted.
<!DOCTYPE html>
<html>
<head>
<title >SNT</title>
<script type="text/javascript" >
var isomorphicDir="http://localhost:7001/CRMApp/isomorphic/";
var data = [
{inspectorID:12345, region:"United States", state:"Pennsylvania", city:"Pittsburgh", inspections:206,observations:913,lastInspectionDat e:new Date(2012, 8, 13),index:52.6, inspectionType: {id:123, name:"type1"}},
{inspectorID:12345, region:"United States", state:"Pennsylvania", city:"Pittsburgh", inspections:66,observations:null,lastInspectionDat e:new Date(2013, 8,2),index:75.3, inspectionType: {id:123, name:"type1"}},
{inspectorID:88776, region:"United States", state:"Pennsylvania", city:"Pittsburgh", inspections:12,observations:null,lastInspectionDat e:new Date(2013,9,3),index:75.3, inspectionType: {id:123, name:"type1"}},
{inspectorID:44556, region:"United States", state:"Pennsylvania", city:"Butler", inspections:206,observations:12,lastInspectionDate :new Date(2012,9,10),index:52.6, inspectionType: {id:123, name:"type1"}},
{inspectorID:44556, region:"west States", state:"Pennsylvania", city:"Pittsburgh", inspections:34,observations:0,lastInspectionDate:n ew Date(2012,7,11),index:52.6, inspectionType: {id:123, name:"type1"}},
{inspectorID:44556, region:"east States", state:"Pennsylvania", city:"Pittsburgh", inspections:109,observations:null,lastInspectionDa te:new Date(2012,7,10),index:52.6, inspectionType: {id:123, name:"type1"}},
{inspectorID:11111, region:"north States", state:"Pennsylvania", city:"Pittsburgh", inspections:109,observations:null,lastInspectionDa te:new Date(2012,6,11),index:52.6, inspectionType: {id:123, name:"type1"}},
];
</script>
<script type="text/javascript" SRC="http://localhost:7001/CRMApp/isomorphic/system/modules/ISC_Core.js"></script>
<script type="text/javascript" SRC="http://localhost:7001/CRMApp/isomorphic/system/modules/ISC_Foundation.js"></script>
<script type="text/javascript" SRC="http://localhost:7001/CRMApp/isomorphic/system/modules/ISC_Containers.js"></script>
<script type="text/javascript" SRC="http://localhost:7001/CRMApp/isomorphic/system/modules/ISC_Grids.js"></script>
<script type="text/javascript" SRC="http://localhost:7001/CRMApp/isomorphic/system/modules/ISC_Forms.js"></script>
<script type="text/javascript" SRC="http://localhost:7001/CRMApp/isomorphic/system/modules/ISC_DataBinding.js"></script>
<script type="text/javascript" SRC="http://localhost:7001/CRMApp/isomorphic/system/modules/ISC_Drawing.js"></script>
<script type="text/javascript" SRC="http://localhost:7001/CRMApp/isomorphic/system/modules/ISC_PluginBridges.js"></script>
<script type="text/javascript" SRC="http://localhost:7001/CRMApp/isomorphic/system/modules/ISC_Charts.js"></script>
<script type="text/javascript" SRC="http://localhost:7001/CRMApp/isomorphic/system/modules/ISC_Tools.js"></script>
<script type="text/javascript" SRC="http://localhost:7001/CRMApp/isomorphic/skins/SafetyNetSkin/load_skin.js"></script>
</head>
<body>
<br><br>
<script>
isc.DataSource.create({
ID: "ds",
fields: [
{name:"inspectorID", title:"Inspector ID", type:"integer" },
{name:"inspections", type:"integer", title:"Number of Inspections"},
{name:"static", type:"text", title:"Really Long Static Field Title"},
{name:"lastInspectionDate", type:"date", title:"Last Inspection"},
{name:"region", type:"text", title:"Region"},
{name:"state", type:"text", title:"State"},
{name:"city", type:"text", title:"City/Municipality"},
{name:"observations", title:"# Observations", type:"integer"}
],
cacheData:data,
clientOnly: true
});
// create the actual grid object
var gridObject = isc.ListGrid.create({
dataSource: ds,
dataFetchMode : "local",
autoFetchData: true,
clientOnly: true,
width : "100%",
align : "center",
autoFitData : "vertical",
autoFitMaxHeight : 400,
alternateRecordStyles : true,
canAddFormulaFields : true,
canAddSummaryFields : true,
canGroupBy : true,
canReorderFields : true,
showGroupSummary : true,
groupByMaxRecords : 100,
canMultiGroup : true,
useAdvancedFieldPicker : true,
advancedFieldPickerThreshold : 10
});
//gridObject.groupBy(["inspectorID","city"]);
</script>
<br><br>
</body>
</html>
By default, (as per your doc) only one group will be expanded after group by operation. But i am seeing 2 groups expanded.
Here is the steps to reproduce.
Load the below test case
Freeze <Region> column
Open highlit tool
Add the following
<Region> - <contains> - <United>
<Text> = #FFFF00 - <Background> = #006300
Save the tool
Group by <Region> column
Group's name is not highlighted
Collapse and Expand, then group's name will be highlighted.
<!DOCTYPE html>
<html>
<head>
<title >SNT</title>
<script type="text/javascript" >
var isomorphicDir="http://localhost:7001/CRMApp/isomorphic/";
var data = [
{inspectorID:12345, region:"United States", state:"Pennsylvania", city:"Pittsburgh", inspections:206,observations:913,lastInspectionDat e:new Date(2012, 8, 13),index:52.6, inspectionType: {id:123, name:"type1"}},
{inspectorID:12345, region:"United States", state:"Pennsylvania", city:"Pittsburgh", inspections:66,observations:null,lastInspectionDat e:new Date(2013, 8,2),index:75.3, inspectionType: {id:123, name:"type1"}},
{inspectorID:88776, region:"United States", state:"Pennsylvania", city:"Pittsburgh", inspections:12,observations:null,lastInspectionDat e:new Date(2013,9,3),index:75.3, inspectionType: {id:123, name:"type1"}},
{inspectorID:44556, region:"United States", state:"Pennsylvania", city:"Butler", inspections:206,observations:12,lastInspectionDate :new Date(2012,9,10),index:52.6, inspectionType: {id:123, name:"type1"}},
{inspectorID:44556, region:"west States", state:"Pennsylvania", city:"Pittsburgh", inspections:34,observations:0,lastInspectionDate:n ew Date(2012,7,11),index:52.6, inspectionType: {id:123, name:"type1"}},
{inspectorID:44556, region:"east States", state:"Pennsylvania", city:"Pittsburgh", inspections:109,observations:null,lastInspectionDa te:new Date(2012,7,10),index:52.6, inspectionType: {id:123, name:"type1"}},
{inspectorID:11111, region:"north States", state:"Pennsylvania", city:"Pittsburgh", inspections:109,observations:null,lastInspectionDa te:new Date(2012,6,11),index:52.6, inspectionType: {id:123, name:"type1"}},
];
</script>
<script type="text/javascript" SRC="http://localhost:7001/CRMApp/isomorphic/system/modules/ISC_Core.js"></script>
<script type="text/javascript" SRC="http://localhost:7001/CRMApp/isomorphic/system/modules/ISC_Foundation.js"></script>
<script type="text/javascript" SRC="http://localhost:7001/CRMApp/isomorphic/system/modules/ISC_Containers.js"></script>
<script type="text/javascript" SRC="http://localhost:7001/CRMApp/isomorphic/system/modules/ISC_Grids.js"></script>
<script type="text/javascript" SRC="http://localhost:7001/CRMApp/isomorphic/system/modules/ISC_Forms.js"></script>
<script type="text/javascript" SRC="http://localhost:7001/CRMApp/isomorphic/system/modules/ISC_DataBinding.js"></script>
<script type="text/javascript" SRC="http://localhost:7001/CRMApp/isomorphic/system/modules/ISC_Drawing.js"></script>
<script type="text/javascript" SRC="http://localhost:7001/CRMApp/isomorphic/system/modules/ISC_PluginBridges.js"></script>
<script type="text/javascript" SRC="http://localhost:7001/CRMApp/isomorphic/system/modules/ISC_Charts.js"></script>
<script type="text/javascript" SRC="http://localhost:7001/CRMApp/isomorphic/system/modules/ISC_Tools.js"></script>
<script type="text/javascript" SRC="http://localhost:7001/CRMApp/isomorphic/skins/SafetyNetSkin/load_skin.js"></script>
</head>
<body>
<br><br>
<script>
isc.DataSource.create({
ID: "ds",
fields: [
{name:"inspectorID", title:"Inspector ID", type:"integer" },
{name:"inspections", type:"integer", title:"Number of Inspections"},
{name:"static", type:"text", title:"Really Long Static Field Title"},
{name:"lastInspectionDate", type:"date", title:"Last Inspection"},
{name:"region", type:"text", title:"Region"},
{name:"state", type:"text", title:"State"},
{name:"city", type:"text", title:"City/Municipality"},
{name:"observations", title:"# Observations", type:"integer"}
],
cacheData:data,
clientOnly: true
});
// create the actual grid object
var gridObject = isc.ListGrid.create({
dataSource: ds,
dataFetchMode : "local",
autoFetchData: true,
clientOnly: true,
width : "100%",
align : "center",
autoFitData : "vertical",
autoFitMaxHeight : 400,
alternateRecordStyles : true,
canAddFormulaFields : true,
canAddSummaryFields : true,
canGroupBy : true,
canReorderFields : true,
showGroupSummary : true,
groupByMaxRecords : 100,
canMultiGroup : true,
useAdvancedFieldPicker : true,
advancedFieldPickerThreshold : 10
});
//gridObject.groupBy(["inspectorID","city"]);
</script>
<br><br>
</body>
</html>