I want to implement a tailing feature in PQ Grid (Virtual X and Y set to true).
So, If the user is at the top then the scroll should not move but if the user is at the bottom (i.e. at the last row) then scroll should be updated to the latest row added as and when. What can be the best way to implement this?
I tried using the getRowsByClass which will return the array and then I would get the last row out of it and respectively scroll to that row. However, the below code is not returning anything. Please help with this too -
$("#logOutputGrid").pqGrid("getRowsByClass", { cls: 'pq-grid-row'})