With this data source configuration .read() does not seem to be passing &group= and &subgroup= assignments to the server.
Should
be this instead ?
var spaceSeasonDS =new kendo.data.DataSource({ transport: { read: { url: window.stpURL + "/SpaceAttribute", dataType: 'xml', data: { action: 'getSeasons', group: function(){ return spaceGroup.value() }, subgroup: function(){ return spaceSubgroup.value() } }, cache: false, complete: onReadComplete_Season } }, schema: { type: "xml", data: "/TABLE/SEASONS", model: { fields: { item: "item/text()" } } }, error: raiseXmlDsErrorWindow});Should
data: { action: 'getSeasons', group: function(){ return spaceGroup.value() }, subgroup: function(){ return spaceSubgroup.value() }},be this instead ?
data: function() {return { action: 'getSeasons', group: spaceGroup.value(), subgroup: spaceSubgroup.value()}},