wenzhixin / bootstrap-table-examples

Bootstrap table examples
https://examples.bootstrap-table.com/
MIT License
2.24k stars 1.62k forks source link

Group-By-v2 collapse issue #309

Closed ofthesea-io closed 6 years ago

ofthesea-io commented 6 years ago

Group-By-v2 collapse issue

If the result set is greater than the initial number of records in the display (pagination), when you collapse the group by column, it does not pull the remaining records up into the view. Those records are hidden under the subsequent pages.

jsfiddle

In the fiddle, you can see it doesn't pull in "blog-text" from page two, when "blog" is collapsed. Is this by design?

P.S. I'm not sure if this is the right area to post extension issues.

binho500 commented 6 years ago

It's the data-height="300" that is causing the problem. If you remove it, the problem goes away. That's because the height will trigger the resetView option in bottstrapTable and will mess with the columns. I'm having the same problem.

ofthesea-io commented 6 years ago

Thank you for that. Works a lot better.