I have a tree list with 2 parents nodes, I wonder if there's any way when I click within the parent box happen the same effect that happens when I click the arrow to open the children items
Here is the config of my tree list
$scope.treelistOptions = {
dataSource: {
data: $scope.treeData,
schema: {
model: {
fields: {
id: { type:
"integer"
, editable:
false
, nullable:
false
},
parentId: { field:
"parentId"
, nullable:
true
, type:
"integer"
}
},
expanded:
true
}
}
},
columns: [
{ field:
"operationCode"
, title:
"Descrição"
, attributes: {
"class"
:
"colorFirstColumn"
},
template:
"<strong>#: operationCode #</strong>"
},
{ field:
"qtdTotalCompra"
, title:
"MWm"
},
{ field:
"valorTotalCompra"
, title:
"R$"
},
{ field:
"qtdTotalVenda"
, title:
"MWm"
},
{ field:
"valorTotalVenda"
, title:
"R$"
},
{ field:
"valorTotalBalanco"
, title:
"Balanço"
},
{ field:
"valorResultado"
, title:
"Resultado"
}
],
sortable:
false
,
reorderable:
false
,
resizable:
true
,
columnMenu:
false
};