G
gryphon
Guest
Hi Yes server filtering is turned on. below is the code: detailRow.find(".other-details").kendoGrid({ dataSource: { type: "jsdo", serverFiltering: true, transport: { jsdo: "bePsmemo", }, filter: { field: "ttpartno", operator: "startswith", value: "vPart" } , schema: { model: { fields: { ttpartno: { type: 'string' }, ttinfo1: { type: 'string' }, ttinfo2: { type: 'string' } } }, }, }, scrollable: false, sortable: true, columns: [{ field: "ttinfo1", title: "Details" }, { field: "ttinfo2", title: " " }] }) now if you try and find out what the filter is by doing this... var filter123 = $('.other-details').data('kendoGrid').dataSource.filter(); console.log("1st: " + filter123.logic); console.log("2nd: " + filter123.filters[0]); i get the following: 1st: and 2nd: [object Object] Can you please advise me on what is going wrong here?
Continue reading...
Continue reading...