Hello,
i'm currently using treeGrid, but for unknown reason i'm having thhis exception
uncaught exception: ejScroller: methods/properties can be accessed only after plugin creationi'm not even using ejScroller, i think it is beacause there is an implicit call of it by the Tree Grid, but i can't solve this problem
$( "#update" ).click(function() {
// hide/show zone
if(buttonZones.length == nbDisplayZone){
var displayzone1 = $("#displayzone1");
var displayzone2 = $("#displayzone2");
displayzone1.empty();
displayzone2.empty();
displayzone1.append("
");
displayzone2.append("
")
$("#"+buttonZones[0].zone.zoneName).ejTreeGrid({
dataSource: buttonZones[0].zone.data,
childMapping: "subtasks",
treeColumnIndex: 0,
sizeSettings:{ height: "450px", width: "600" },
isResponsive:true,
allowColumnResize:true,
editSettings: { allowEditing: true, editMode: "cellEditing" },
columns: [
{ field: "Accumulated_MW", headerText: "Accumulated/MW", editType: "numericedit", width: "10" },
{ field: "Price_EUR", headerText: "Price/EUR", editType: "stringedit", width: "10" },
{ field: "Price_SEK", headerText: "Price/SEK", editType: "stringedit" , width: "10"},
{ field: "Amount_MW", headerText: "Amount/MW", editType: "numericedit" , width: "10"},
{ field: "ELSPOT_Area", headerText: "ELSPOT Area", editType: "stringedit", width: "10" },
{ field: "PowerPlant", headerText: "Power Plant", editType: "stringedit" , width: "10"}
]
});
$("#"+buttonZones[0].zone.zoneName).css(
"border","solid 4px "+buttonZones[0].zone.zoneColor
);