This question is locked. New answers and comments are not allowed.
We have a hybrid app that uses Kendo UI datasource with backend services. We have used custom filtering to filter the datasource.
The code below works great to provide the data we need, but the data changes during a user session. How can we best reload the data? With other views we use data-reload="true", but we don't use custom filtering with those views/datasources. data-reload="true" doesn't seem to work with this datasource.
var filterExpression = {
"Username": { "$in": friendListArray }
};
type: 'everlive',
schema: {
model: allUsersModel
},
transport: {
typeName: 'Users',
read: {
headers: {
"X-Everlive-Fields": JSON.stringify(fieldsExp),
"X-Everlive-Filter": JSON.stringify(filterExpression)
},
}
},
serverFiltering: true,
});