bootstrap-table
bootstrap-table copied to clipboard
Custom parameters with AddrBar
Description
Hello,
Is it possible to use AddBar with custom parameters? I have a multi-select with filter options that I use to update the table using server-side pagination. The table refreshes with the correct filtered data. However, the URL does not update with the custom selected filter parameters.
I also tried updating the URL parameters manually, but when the grid refreshes, it overwrites the parameters.
I use this function to update the table and force a refresh:
Tables.UpdateQueryParams = function (customParams) {
Tables.TableElement.bootstrapTable("refreshOptions", {
queryParams: function (params) {
return $.extend(params, customParams);
}
});
};
Thanks for your help.
This feature is not currently supported in the extension but may be available as a new feature.
I use this function to update the table and force a refresh:
Thank you for the confirmation!