Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

86
Views
Antd table Horizontal scroll should move on onclick

I've been working on this for 3 days now I've tried various methods to solve none worked the thing I want to move the table to right using the click of a button I am using antd table in this table the header and first four columns should be fixed while scrolling only rest should move other than the column if I use to scroll in table I couldn't capture the event so what I did is I created a div outside the table and made it scroll and made it move on click also but the fixed columns is working only for fourth column and if I use scroll on table it works fine if I use scroll on table i couldn't build the onclick feature

please help me solve this

Reference picture Link

As you can see here only last column is fixed; I want all four columns fixed and the onClick feature as well

Here's the codeSandbox link

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!