Hi,
So I have Treeview that reads Channel Data from a remote Hierarchical DataSource:
var
hierarchical_dataSource_channelNodes =
new
kendo.data.HierarchicalDataSource({
transport: {
read: {
url:
"/planner/channelnodes/forTree"
,
type:
"GET"
,
dataType:
"json"
}
},
schema: {
model: {
id:
"id"
,
hasChildren:
"hasChildChannelNodes"
}
}
});
So as above, tree nodes (child channels) are retrieved on an as needed bases, when a node is opened, this is donw by executing this URL: "/planner/channelnodes/forTree/1" (for example I expans the first node).
So this is where my issue starts, Id like to implement serverFitlering as well, how can I also execute a filter (ie. add the filter param to the URL) when a tree node is expanded and the read URL is executed? Is there a way to execute a read and filter together or to append the 'filter' param & value to the read URL during a 'requestStart' or 'parameterMap' or a read request?
Thanks and kind Regards,
Grant