This pull request addresses the issue where row indices do not start from 0 when using headers in the ShadTable component. The changes ensure that the effective row count is calculated correctly and that row indices are adjusted accordingly.
Changes:
Adjusted effectiveRowCount to account for headers and footers.
Modified cellBuilder to correctly adjust row indices when a header is present.
Issue Reference:
closes #66
Testing:
Tested with a table that includes headers and footers to ensure all rows are displayed correctly.
This pull request addresses the issue where row indices do not start from 0 when using headers in the
ShadTable
component. The changes ensure that the effective row count is calculated correctly and that row indices are adjusted accordingly.Changes:
effectiveRowCount
to account for headers and footers.cellBuilder
to correctly adjust row indices when a header is present.Issue Reference: closes #66
Testing: Tested with a table that includes headers and footers to ensure all rows are displayed correctly.