Inquiry on .scrollTo
Inquiry on .scrollTo

This line of code is perfectly working dt.row(150).scrollTo();
but when I increased it dt.row(200).scrollTo();
it wont scroll,
please tell me what am I missing?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
this thread might be helpful
https://stackoverflow.com/questions/33524810/jquery-datatables-scrollto-div
Hello @bindrid it worked!
I tried adding it as a separate line of code and assigned a static row index.
But when I included it in an if statement its not being hit.
It is looping upto 250 rows only. Is that a limitation for datatables?
!
Sorry newbie problems
No. DataTables has no hard limits. If its only looping that many, it suggests that there are only 250 cells matched by
'#tblMaster td'
.Perhaps you need to use
cells().nodes()
to get the nodes that are present in the table.Allan