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

Table row indices not starting from 0 when using headers. #66

Closed
Kyziq opened this issue May 17, 2024 · 0 comments · Fixed by #67
Closed

Table row indices not starting from 0 when using headers. #66

Kyziq opened this issue May 17, 2024 · 0 comments · Fixed by #67
Assignees
Labels
bug Something isn't working

Comments

@Kyziq
Copy link
Contributor

Kyziq commented May 17, 2024

When using the ShadTable component with headers, the row indices do not start from 0. This causes only a subset of rows to be displayed correctly. The issue occurs because the effective row count and row indices are not correctly adjusted for the presence of headers and footers.

Steps to Reproduce:

  1. Use the ShadTable component with a header.
  2. Observe that the first row starts from 1 instead of 0.

Expected Behavior:
The row indices should start from 0 even when a header is present.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants