Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Dynamic Table columns

Featured Replies

Hi

Is there a way to let a user choose what he wants to see in a table and what not? (dynamicaly, not to create a layout for each possible set fo fields...)

Is it possible in a portal?

Is it possible to save these settings for each user? (including the order of the columns)

You can do this with the GetField() function.

  • Author

Hi

You mean in a regular table ? in a portal?

Is it possible to save these settings for each user?

do you have an example?

Could you be a bit more specific?

In the attached example, I show how to use getfield() to allow users to dynamically choose portal fields (for display) and report fields for a print report. You can also sort the report or portal dynamically by choosing fields to sort by.

The example is set up for the default Admin account, but it should keep track of each user's choices if you add additional accounts.

DynamicReport.fp7.zip

  • Author

Hi !! That is great trick...

Tnx again !!!

I don't know what I would have done without this forum....

  • Author

I've modified it a bit to support also sort direction...

If you don't mind... I would like to put it also in the portal forum (ofcoure you get the full credit ;-) )

DynamicPortalColumnAndSort.zip

I am deleting your Cross Post.

If Ender wants to share his file on a broader note, then he should submit it as a sample file, to the "[color:"blue"]Solutions & Suggestions >> Sample Files & Open Source Solutions ", including any descriptive comments. That's why this area exist.

In the mean time, just refer others to this Thread when you think it will help them with a similar problem.

HTH

Lee

  • 2 weeks later...
  • Author

Hi

I tried also (for fun) to make dynamic Value lists to each dynamic field,

meaning - if I change a column, then I get a different VL on that field.

I played with it, and I can't index the field that stored the VL, thus I can't make it a VL...

( I don't want to use "getfield(field)" , because it wont change unless record is updated...)

any suggestion?

  • Author

?

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.