Forums: How to hide repeating values on the List page - Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How to hide repeating values on the List page

#1 User is offline   admin 

  • Administrator
  • PipPipPip
  • Group: Admin
  • Posts: 16042
  • Joined: 03-February 03

Posted 09 May 2012 - 05:47 PM

Here is the typical list page with the list of cars sorted by make.

Posted Image

Sometimes you may need to make this screen less cluttered removing repeating values in the Make column. Something like this:

Posted Image

Here is how this can be done.

1. Add the following code to List page: BeforeProcess event:
SESSION("make")=""


2. Set 'View as' type of Make field to 'Custom' and paste the following code there:

if value=SESSION("make") then
value=""
else
SESSION("make")=value
end if


This is it.
Best regards,
Sergey Kornilov
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic