Limit no of rows in PreviewOverlay

Limit no of rows in PreviewOverlay

Postby marisoft » Tue Nov 22, 2016 4:02 pm

Possibility of setting no of rows visible in extension PreviewOverlay.
Ideally this should be set per individual table in Tools > Extensions > Preview > Advanced.

Cheers
/Poul
marisoft
 
Posts: 65
Joined: Tue Nov 26, 2013 5:37 pm

Re: Limit no of rows in PreviewOverlay

Postby mobhar » Wed Dec 07, 2016 9:47 am

You may simply use "Row_Rendered" server event to achieve it. See this post: viewtopic.php?f=4&t=39628&p=119371#p119371
mobhar
 
Posts: 4661
Joined: Wed Jun 05, 2013 2:11 pm

Re: Limit no of rows in PreviewOverlay

Postby digitalphotoworld » Wed Dec 07, 2016 4:59 pm

mobhar wrote:
> You may simply use "Row_Rendered" server event to achieve it. See
> this post: http://www.hkvforums.com/viewtopic.php?f=4&t=39628&p=119371#p119371

This solution is only useful for small tables with a limited number of rows. If there are houndred or thousands of detail-records, it is not helpful.


mariasoft wrote:
> Ideally this should be set per individual table in Tools > Extensions > Preview > Advanced.

And a way to use an event e. g.
//Page Load
$this->PreviewOverlayLimit = 20;
digitalphotoworld
 
Posts: 386
Joined: Wed Jan 09, 2013 12:26 am

Re: Limit no of rows in PreviewOverlay

Postby Adam » Sun May 14, 2017 2:14 pm

Adam
 
Posts: 109
Joined: Wed Jan 09, 2013 7:53 pm

Re: Limit no of rows in PreviewOverlay

Postby Webmaster » Fri Jul 28, 2017 12:00 pm

Preview extension of v2018 supports paging and sorting, you can specify page size in advanced settings.
Webmaster
 
Posts: 10730
Joined: Fri Aug 06, 2004 5:59 pm


Return to Feature Requests (PHPMaker)