bootstrap-table icon indicating copy to clipboard operation
bootstrap-table copied to clipboard

Change table page display error when table has fixed columns and sticky header

Open zhengb0 opened this issue 3 years ago • 4 comments

Bootstraptable version(s) affected

1.16.0

Description

When I change the number of pages in the table when there is a sticky header in the drop-down list, the sticky header of the fixed column on the right will change to the header of the non-fixed column on the left.

But it will resume after I scroll the page

Example(s)

pre: image after: image No response

Possible Solutions

No response

Additional Context

No response

zhengb0 avatar Dec 22 '21 08:12 zhengb0

Hi @zhengb0 ,

Where exactly is this issue occurring and please let me know the steps to reproduce.

Thanks.

MadhaviMandalia avatar Dec 22 '21 12:12 MadhaviMandalia

Hi @zhengb0 ,

Where exactly is this issue occurring and please let me know the steps to reproduce.

Thanks.

you can try it on the online Editor.

  1. enter the online editor image

  2. click the libraries. image

  3. select the extensions. (note: sticky header need before fixed columns)

  4. click run, then do like the picture. image

  5. the right value "Cell 19" image

  6. but when you scroll, the right value "Cell 19" will change to the wrong value "Cell 12". image

bling-hygge avatar Dec 28 '21 09:12 bling-hygge

Hi, @MadhaviMandalia Sorry about it, I'am long time no login github, this problem was resolved. solution: bootstrap-table-fixed-columns.js change this code position, and resolved 企业微信截图_88de129b-40fd-4028-81d6-19867b83fc2e

zhengb0 avatar Feb 15 '22 10:02 zhengb0