September 17, 200916 yr Can someone suggest how I might visually highlight the top three values in a scrollable portal? The portal displays 20 out of a possible 100 records. The "top 3" would be the top ones out of the 100, so at any moment, all or none might be displayed. One alternative I've thought of is to have a script sort the Found Set and individually flag the top three values. The problem is how to trigger the script when there are changes to records. Any suggestions will be appreciated.
September 17, 200916 yr What determines the "top" here? How are the portal and the relationship sorted?
September 17, 200916 yr Author LaRetta, you guessed right. That's exactly what I was looking for. Sorry I didn't clarify that Top 3 meant "numerically largest". Thanks very much for your help.
September 17, 200916 yr Author That is an interesting observation. It does, indeed, highlight all three 100's -- plus the other two high values. In my particular application, it is unlikely that any high values will occur more than once. However, it would be worth knowing what a good solution is for the general case. Thanks for the additional insight to the problem/solution.
September 17, 200916 yr I don't think this problem is well defined. What if the values are: 100 100 99 99 5 4
Create an account or sign in to comment