K1200 Posted September 17, 2009 Posted September 17, 2009 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.
comment Posted September 17, 2009 Posted September 17, 2009 What determines the "top" here? How are the portal and the relationship sorted?
K1200 Posted September 17, 2009 Author Posted September 17, 2009 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.
Raybaudi Posted September 17, 2009 Posted September 17, 2009 What if values are: 100 100 100 99 98 2 1
K1200 Posted September 17, 2009 Author Posted September 17, 2009 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.
comment Posted September 17, 2009 Posted September 17, 2009 I don't think this problem is well defined. What if the values are: 100 100 99 99 5 4
Recommended Posts
This topic is 5602 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now