Hi Konstantin,
if I set this on initialization javascript and like this:
grdStandort.dataSource.transport.options.read.data = dataFiltergrdStandort();
and in the dataFiltergrdStandort function I refer to a textbox and then if a refresh the grid with the paging bar refresh then it seems that the function is not called again with the new value but with the last/cached one?
for me it looks like to set this with the statement above is not the same as in the .Data() of t´he read action in grid definition...
robert
function
dataFiltergrdStandort() {
var
filterid = 0;
if
($(
"#toolStandorteFilter_Alle"
).data(
"button"
).options.selected ===
true
)
filterid = 0;
if
($(
"#toolStandorteFilter_Active"
).data(
"button"
).options.selected ===
true
)
filterid = 1;
if
($(
"#toolStandorteFilter_Geloeschte"
).data(
"button"
).options.selected ===
true
)
filterid = 2;
return
{
mitgliedid: mitgliedid,
filterid: filterid,
textfilter: $(
"#txtStandortsuche"
).val()
};
}