Hello,
I have problem with Telerik Grid and additional parameter in datasource.
html :
js:
When i use jquery selector, search parametr is always empty.
Is here any workaround?
Thanks Martin
I have problem with Telerik Grid and additional parameter in datasource.
html :
<
input
id
=
"searchOrder"
type
=
"text"
name
=
"searchOrder"
/>
js:
transport : {
read : {
type:
'post'
,
dataType:
'json'
,
url: dataUrl,
},
data: {
search: $(
'#searchOrder'
).val()
transport : {
read : {
type:
'post'
,
dataType:
'json'
,
url: dataUrl,
},
data: {
search: $(
'#searchOrder'
).val()
// not works
search:
'test'
// this works
}
},
}
},...
When i use jquery selector, search parametr is always empty.
Is here any workaround?
Thanks Martin