Author Topic: Scroll row should work for row data as well  (Read 439 times)

rushabhwadkar

  • Newbie
  • *
  • Posts: 5
    • View Profile
Scroll row should work for row data as well
« on: February 17, 2020, 07:52:09 pm »
Hi,

I am having dataset (let's say 1M lines) and I am using some strings to filter that grid. Filtering returned me say 100 rows.
I have a line number column coming from database so can't really use the PQ Grid row column.
Now, My First row is showing the below data
==============================
100 |             ERROR OCCURRED
189 |             ERROR OCCURRED
211 |             RESTART
==============================

Now when i scroll row to 189, it must scroll to the 2nd row and not 189th row.
Also, this line number column coming from database is also crucial for me. So can't really change that..
Is there a way I can achieve this using PQ Grid?

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 4399
    • View Profile
Re: Scroll row should work for row data as well
« Reply #1 on: February 26, 2020, 12:18:17 pm »
Could you share a jsfiddle for more clarity about your requirement.

rushabhwadkar

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Scroll row should work for row data as well
« Reply #2 on: March 11, 2020, 03:41:44 pm »
All I want,

That scroll to work according to the column (numeric value), so if I do scrollToRow: 180 then it must scroll to row having the column value as 180.