DataTables / DataTables/KeyTable

Support bScroll when used together with FixedHeader

Open
#4 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
36
Forks
31
PR merge metrics
No merged PRs in 30d

Description

In order to make automatic scrolling, the fixed columns/rows (top, left, right, bottom) of FixedHeader need to be accounted for in the calculation of the new scroll position.

Since each of the fixed elements is wrapped inside a div it's is easy to determine its dimension. In addition to the dimension the position of the table needs to be accounted for. fnGetSettings().oMes of fixed header could be the right source, I think.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the automatic scrolling entry point and how FixedHeader exposes its fixed elements and fnGetSettings().oMes. Account for the fixed top, left, right, and bottom dimensions and the table position when calculating the new scroll position; done means bScroll works correctly alongside FixedHeader.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.