I have DataSource like this:
I need so when i use datasource.get(4) to call this example
how can i override the get function.
Sorry for my bad English.
var
contactDataSource =
new
kendo.data.DataSource({
transport: {
tbl: azureService.client.getTable(
'CRContact'
),
read:
function
(options) {
this
.tbl.read({ SearchString: options.data.filter.filters[0].value}).done(
function
(d) {
options.success(d);
},
function
(err) {
options.error(err);
});
}
serverFiltering :
true
,
schema: {
model:
{
id:
"id"
,
}
}
this
.tbl.lookup(idThatISendAsParameter).done(
function
(result) {
},
function
(err) {
})
Sorry for my bad English.