Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
350
Show top N records
posted

I am trying to find out a way to show only N top records from the datasource with respect to currently set filter conditions and sort order.

I.e. if there are records with Amount value in range of 1..100 then if sorted by Amount ASC i need to display, say, records with 1..10. When sorted by Amount DESC , records 91-100 are to be displayed. If filter by Amount>50, then 51..60 should be displayed.

It look as if I need to setup a filter on VisibleIndex value yet I couldn't find a way to do so.

Any ideas are appreciated.