Newbie Question: Passing Parameter via Ajax
Newbie Question: Passing Parameter via Ajax
johnw
Posts: 13Questions: 5Answers: 0
Allan,
I'm using client side so currently I call an ajax and then filter on the columns. Is there any way for me to pass the parameters when making an ajax call so I don't retrieve all of the records. Thanks.
This discussion has been closed.
Answers
Sure - use the
ajax.data
option to send data to the server. Then you can filter the data on the server-side however you like.Allan
Allan,
So I guess I need to use ServerSide option. I guess you cannot do this using clientside. I'm still learning, but this is a great software. Thanks Allan!
You can do it client-side. You can use the
ajax.data
parameter that I mentioned to send data to the server.Just because you are Ajax loading data doesn't implicitly imply server-side processing. Most of the Editor demos Ajax load data, but are using client-side processing. The "processing" in this case is referring to where the sorting, filtering, etc happens.
Allan