Skip to content
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

Error When Only Frozen Columns Are Present and renderHorizontal is Enabled #4600

Open
kunaljaykam opened this issue Oct 17, 2024 · 0 comments · May be fixed by #4601
Open

Error When Only Frozen Columns Are Present and renderHorizontal is Enabled #4600

kunaljaykam opened this issue Oct 17, 2024 · 0 comments · May be fixed by #4601
Labels
Possible Bug A possible bug that needs investigation

Comments

@kunaljaykam
Copy link

Describe the bug
When only frozen columns are present in the DOM and the renderHorizontal option is enabled in Tabulator, an error is thrown during table rendering. The issue might be arises because the system attempts to access non-existent unfrozen columns, causing a crash.

Tabulator Info

  • 6.3

Working Example
https://jsfiddle.net/uwaj5Lgt/

To Reproduce
A step by step guide to recreate the issue in your JS Fiddle or Codepen:

  1. You should have only frozen columns and renderHorizontal should be enable.
  2. Go to provided jsfiddle link
  3. Run
  4. Check the console error.

Expected behavior
It shouldn't throw an error

Screenshots
image

Desktop (please complete the following information):

  • OS: fedora, Linux
  • Browser [chrome]
  • Version [129.0.6668.100]

Additional context
I would be more than happy to do a PR for this Issue. Thanks.

@kunaljaykam kunaljaykam added the Possible Bug A possible bug that needs investigation label Oct 17, 2024
kunaljaykam added a commit to kunaljaykam/tabulator that referenced this issue Oct 17, 2024
kunaljaykam added a commit to kunaljaykam/tabulator that referenced this issue Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Possible Bug A possible bug that needs investigation
Projects
None yet
3 participants
@kunaljaykam and others