-
Notifications
You must be signed in to change notification settings - Fork 583
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Export with data-filter-control="select" give select options in table header #96
Comments
Hi thiazzz i found the same problem you can resolve this with both methods Declaring in th the data attribute Just declare in th the data attribute Using Callback for parseSting You can use the $table.bootstrapTable({
...
exportOptions: {
onCellHtmlData: function (cell, rowIndex, colIndex, htmlData) {
return (htmlData.startsWith('<div') ? $(htmlData).html() : htmlData);
}
},
...
}); This will get just the content html of all divs and exclude the options from select I hope it helped you |
Hello, Bootstrap-table with bootstrap 4 does not work. Export + Filter Select option fail as thiazzz says. The items in the dropdown appear in the exported excel sheet In the new online editor, In the new online editor, it doesn't work either.], it doesn't work either. |
FYI: You are reporting this problem on the wrong project site. Bootstrap table uses a fork of kayalshri's plugin. I'm the author of that fork 😉 Edit: This problem should be fixed in v1.10.5 of the plugin and should be available as soon as this version is adopted by BT. |
I confirm this problem is fixed on Version 1.10.6 without using the proposal of augusto3691 |
hello @thiazzz , |
See attachments. The items in the dropdown appear in the exported excel sheet.
tableExport-5.xlsx
The text was updated successfully, but these errors were encountered: