Author Topic: pqGrid - display only top N rows  (Read 2497 times)

adham80

  • Newbie
  • *
  • Posts: 11
    • View Profile
pqGrid - display only top N rows
« on: January 02, 2019, 06:57:39 pm »
hi

is there a functionality to display only Top N rows.

please note :
i dont want to recreate the grid with new data of N rows,  i only need to display the TOP N rows, and do some stuff on this like filtering etc...

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: pqGrid - display only top N rows
« Reply #1 on: January 05, 2019, 04:06:38 pm »
you can hide the unwanted rows.

adham80

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: pqGrid - display only top N rows
« Reply #2 on: January 07, 2019, 07:51:15 pm »
thanks

i used a custom filter of range , to display only the topN rows,

if i use your approach  of hiding rows , that may effect the performance [already verified that], specifically when have a large data