how to make selection list for displaying only the selected

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
danels
User
Posts: 53

how to make selection list for displaying only the selected

Post by danels »

Hi

Does anybody know how to make selection list to display only the selected fields list to displaying on main page

so the user could have been asked to choose first, what are the fields user want to display on the list.

or does anybody know any other method to displaying and undisplaying list by user selected fields.

Thanks in Advance


mobhar
User
Posts: 11736

Post by mobhar »

There is no such feature at the moment.

However, you may achieve it by using the following tricks:

  1. Use a table to store all the tables including its fields name.
  2. Provide a user interface so that users must enable/disable the certain field(s) in the certain table(s) to show/hide in the List page.
  3. By default, all fields must be selected in the Fields setup, so that PHPMaker will generate it.
  4. Assign FALSE to the "Visible" property that belongs to the page/table class to hide the certain fields by using "Page_Load" server event in the related page/table.

Post Reply