Open neozhu opened 10 years ago
hi @neozhu,
I believe your question is about how to pass filter arguments to the server. If you connect the filter to the bootstrap table (connectTo option) and the table is using server as a data source (url option of the bootstrap-table), the the filter should automatically set new url of the data source when filter is applied. The new URL contains attribute filter with all settings.
Please check http://plnkr.co/edit/XA0kUc?p=preview . If you inspect the page and check the requests, every time you apply the filter there is a ajax request to the static json file (the server side logic is not implemented so the filtering is not working in this example)
如何通过ajax 传递参数到服务器端查询