Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Positioning selected record at the middle of a portal


This topic is 4247 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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...
Posted

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. 

  • 1 month later...
Posted

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

Posted

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. 

This topic is 4247 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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