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

Horizontal Scroll Doesn't Scroll Header Row #296

Open
semireg opened this issue Aug 22, 2024 · 1 comment
Open

Horizontal Scroll Doesn't Scroll Header Row #296

semireg opened this issue Aug 22, 2024 · 1 comment

Comments

@semireg
Copy link

semireg commented Aug 22, 2024

  • bug: H scroll doesn't scroll the top row. Is this normal? I've tried every layout and it still does this.

Environment Details

  • react-tabulator version: 0.21.0
  • OS: macOS

h-scroll

                <ReactTabulator
                  className="compact celled"
                  columns={currentColumns}
                  data={data}
                  options={{
                    layout: 'fitDataTable',
                    virtualDomHoz: true,
                    height: tableHeight,
                    movableColumns: isTable,

currentColumns is one row column, and then the data headers.

    const rowNumColumn = {
      title: 'Row',
      field: 'row',
      width: 75,
      hozAlign: 'center',
      headerSort: false,
      frozen: false
    } as const;
    const dataColumns = importRecord
      .get('header')
      .map((h) => ({ title: h, field: h, editor, headerMenu, headerSort: false }))
      .toArray();
    return [rowNumColumn, ...dataColumns];

Really trying to figure out what I'm doing wrong...

@petrov826
Copy link

I'm facing the same problem. No one seems to have been assigned to this issue, will it be fixed in next release?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants