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

141
Views
Jquery dataTable not save row position scroll after page reload?

I am using jquery datatable using asp.net mvc core framework. Its working fine and showing data. DataTable also saving state of pagination, like if i am on page 2 and click on any row button after page relaod it will show same page. But my issue is i want to show same row with scroll position but right now its showing top of record after page reload.

$(document).ready(function() {
   $('#offersTable').dataTable({
    "bStateSave": true,
    "fnStateSave": function (oSettings, oData) {
        localStorage.setItem('offersDataTables', JSON.stringify(oData));
    },
    "fnStateLoad": function (oSettings) {
        return JSON.parse(localStorage.getItem('offersDataTables'));
    }
})

} ); Its working fine with save state with paging but i want to scroll to same position row when i did changes or click on button row. I am sorry for my bad english. Also i am using model to populate datatable.

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!