Difference between refresh and refreshOptions in boostrapTable
When bootstrapTable is used, there are two methods to refresh and refreshOptions for refreshing data. The usage is similar:
<Table id = "event_table"> </table>... <script> $ ("# event_table "). bootstrapTable ('refresh', {url: new_url}); $ ("# event_table "). bootstrapTable ('refreshuptions ', {url: new_url}); </script>
Refresh: obtain data from the server again.
RefreshOptions: Update bootstrapTable options and obtain data from the server. The difference with refresh is that the option set by refreshOptions will be used as the default option for the next request to server data.
In addition, when using refreshOptions, pay attention to the bootstrapTable version. Some old versions do not support this method.
Set the timeout (timeout) method when BootstrapTable requests data
The above section describes the differences between the refresh and refreshOptions of boostrapTable. I hope it will help you. If you have any questions, please leave a message and I will reply to you in time. Thank you very much for your support for the help House website!