I Have a Problem using Bootstrap Table. lets take a look on this example
http://issues.wenzhixin.net.cn/bootstrap-table/#options/server-side-pagination.html
on the source code you find data-url="/examples/bootstrap_table/data" when you run the example page and take a look what the the GET call is you will see this:
GET http://issues.wenzhixin.net.cn/examples/bootstrap_table/data?order=asc&offset=0&limit=10
behind data the query parameter: ?order=asc&offset=0&limit=10 its simply not compatible with my api and my api send a clear jason back. :( i can manage to remove the "offset=0&limit=10" with the attribute data-pagination="false or dont set it. but i ever end up with ?order=asc or ?order=desc when i put the attribute data-sort-order="desc" when i dont set the attribute i end up with query parameter ?order=asc. iwant remove completly the query parameters and when i need some i set it by myself on the url attribute. please help me.
Thank you very much!
data-url
is for server-side processing. The server sorts, filters and selects data from a source.
What you might be looking for is data-ajax
. It just loads all the data and all the processing is done client-side.
UPDATE:
Providing a working example via jsfiddle is not that easy with the given source (cross-server it should be jsonp and SSL is missing) but if it is only about the options in your initialization, i can provide you this:
https://jsfiddle.net/rsacc203/1/
the data-ajax="your/path"
is missing because the above mentioned situation.
@Updated Comment: https://jsfiddle.net/rsacc203/3/