Bootstrap-table: Add custom buttons in Buttons Toolbar

Created on 27 Jul 2020  路  15Comments  路  Source: wenzhixin/bootstrap-table

Description
I would like to add some custom buttons on the right on the bootstrap-table ones. I see you can add custom html below the buttons, I'm asking if it is possible to add buttons on the same line.

Example
Please see screenshot
Bootstrap-Table-Examples

feature has PR

Most helpful comment

This weekend we will release the new version.

All 15 comments

Currently its not possible, but i think we should add that feature because there a some requests for that feature.
Until the feature is not implement you can use the buttonToolbar or the normal toolbar.

Thanks.
Strictly related question: if I use https://examples.bootstrap-table.com/#options/custom-toolbar.html#view-source is there a way to keep pagination-detail content? Basically I don't want to replace, I want to enrich the toolbar.

The example dont has pagination activated, that is the reason why no pagination will be displayed.
You can enable it, example: https://live.bootstrap-table.com/code/UtechtDustin/4118

I was thinking of having everything (my custom html and the pagination info) on a single line, but I guess it is not strictly necessary. Thanks.

@antonioaltamura im working on it.
The PR is still work in progress, but it would be greate if you could checkout the example in the PR to give us feedback.

Any update on the PR? Really need this feature

@mdjaman The PR is almost done. @djhvscf will check the last issue, because i have currently less time.
But if i find some time and @djhvscf dont did the last thing i will do it asap.

Working on it at this very moment FYI :)

Waiting for @UtechtDustin @wenzhixin approval. See #5227

@UtechtDustin a schedule?

@wenzhixin i already agreed the PR, @wenzhixin has to check it or @djhvscf have to merge it :-)

Cool this being merged! Any plan for an official release including this?

This weekend we will release the new version.

@marceloverdijk @mdjaman
New Version is released :-)

Upgraded ;-)

Was this page helpful?
0 / 5 - 0 ratings