Sunday, June 15, 2008

Dynamic Portal Sorting

Dynamic Portal Sorting

CATEGORY: Portals
CLASS: Technique
VERSION: All Current Versions

As you know, you have columns of data in portal rows and it is quite common to have the ability to click on the column header to sort the portal rows by that column. So any action of changing the default sort order shown in a portal (without changing the data in the related records) can be called Dynamic Portal Sorting.

There are a number of techniques for portal sorting and new ways to do it are coming out all the time. One of the most recent (and highly adopted) ways is to provide an illusion of portal sorting but only the portal presentation changes. This involves having the same portal in exactly the same position on multiple tabs of a tab panel. Each portal has a different default sort order. Then the developer gives object names to each tab, puts a large graphic object over the tabs themselves and the puts sort buttons that actually go to the correct (hidden) tab that has the desired default sort order.

====================== ADVERTISEMENT ==============================
Please feel free to visit the FileMaker Security Explored Blog at http://fmpsecurity.blogspot.com/.
===================================================================