grid-js / gridjs

Advanced table plugin
https://gridjs.io
MIT License
4.39k stars 240 forks source link

wide table option error #1407

Open se-rjlee opened 9 months ago

se-rjlee commented 9 months ago

Describe the bug

option wide table
https://gridjs.io/docs/examples/wide-table

You can see the error in the second example on that page. The example consists of a paging button, and if you click on page 2, you can see that the Country column data is long enough to move on to the next column.

[option] style: { table: {'white-space': 'nowrap'} }

To Reproduce

  1. Go to 'https://gridjs.io/docs/examples/wide-table ' > 'second example'
  2. Click on 'page button "2" '
  3. See error 'first "Country" column data: "South Georgia and the South Sandwich Islands Cambridgeshire" '

Expected behavior Even if I go to the next page, it would be nice if the column width was set to match the length of the data.

Screenshots

image
stale[bot] commented 6 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.