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.

Positioning selected record at the middle of a portal

Featured Replies

Hi!

 

I have a 'Days' portal on my 'Sheet' layout ( which shows list of days from a particular month).

 

Requirement:

1. I want to display seven rows in the portal.

2. I want to be able to select a day from the portal and then position it in the middle ( i.e 3 days less than selected day are placed above the selected day and 3 days greater than selected day are below the selected day).

3. Allow scrolling using portal scroll bar.

 

I am able to position the selected day in the middle using a portal filter and a script, however I am not able to enable scrolling using the portal scrollbar.

Is there any other way I can achieve this such that the scroll bar will work?

 

( I have attached a sample file.)

 

 

Thank you!

Sample file.zip

Solved by Brooks

Go to solution

The portal will only scroll if there are more records than the number of rows in the portal

  • Author

Thanks for replying.

 

@doughemi Not exactly what I need, I want the user to select a day by clicking in portal, and then center that selected day in middle.

I think it is not possible to display a scroll bar as we are displaying filtered records.

  • 2 weeks later...

Am I missing something? This file doesn't seem to do anything other than highlight the selected record anywhere in the portal

The file i uploaded will Jump the selected row to the middle unless it is at the very beginning or end. Choose anything past 4 and it will center. 

  • Author

@Brooks, Thats Perfect!

Thank you very much!

  • 1 month later...

I DL'd the sample file and it does not seem to work if you select the latter records?

You can't make the last row be in the middle. It will work so long as your not at selecting a row that is at the end and below the middle. 

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.