How can i send extra parameters on my GRID POST.
This is my tranport config:
transport: {
read: {
dataType: "json",
url: "/user/list",
type: "POST"
}
}
I need to send a dynamic extra information ( especial filters XD). I will set a script variable before any submit on grid.
Any Help?
Question is discussed multiple times on the internet. You should use the Data function. Here is even more information. You can also pass the parameters directly to the read method of the dataSource.
$('#myGrid').data().kendoGrid.dataSource.read({foo:42})
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With