Subfile Page down displaying wrong record on top

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
kulkabhijeet
New User
Posts: 10
Joined: Wed May 01, 2019 3:35 pm
First Name: Abhijeet
Last Name: Kulkarni
Company Name: Prime Therapeutics
Contact:

Subfile Page down displaying wrong record on top

Post by kulkabhijeet »

I have a subfile grid designed and it works all fine except when it comes to the last page

The number of records that can be accommodated in a single page is 15.
So if my input data has 23 records,
a) on the first page I see first 15 records
b) when I press page down, instead of seeing just the remaining 8 records, I see last 7 records on the first screen and 8 remaining records

I tried Place Cursor as well as Position at top (by setting this as true and then putting 16 as the SFLRCDNBR) (even manually in the debug)
But the screen just works like mentioned above.
Any help is appreciated !!!
User avatar
Megan
Profound Logic Staff Member
Posts: 90
Joined: Mon Sep 11, 2017 12:15 pm
First Name: Megan
Last Name: Bond
Company Name: Profound Logic
Phone: 5623227473
State / Province: California
Zip / Postal Code: 92692
Country: United States
Contact:

Re: Subfile Page down displaying wrong record on top

Post by Megan »

Hello Abhijeet,

I understand your frustration with this issue. Unfortunately, the grid does not add empty rows to push the last rows up. The behavior you are experiencing is expected. There are a variety of ways to get the functionality you are looking for, though. Here's just two.
  1. Write extra empty rows to the grid when filling the subfile.
  2. Submit the screen on pagedown/scroll events to rewrite only the records of the current page to the subfile. Essentially write each page to the grid as the user pages.
If you would like to get a specific record to the top, I show a variety of ways to do so on my NodeRun workspace here:
IDE: https://noderun.com/ide/megan_bond/get- ... w-of-grid/
RUN: https://noderun.com/run/megan_bond/get- ... w-of-grid/

I hope this helps!
~MEGAN BOND
Technical Support Specialist
support@profoundlogic.com
User avatar
Emily
Profound Logic Staff Member
Posts: 89
Joined: Tue Jun 21, 2016 8:30 am
First Name: Emily
Last Name: Seage
Company Name: Profound Logic
Contact:

Re: Subfile Page down displaying wrong record on top

Post by Emily »

Hi Abhijeet,

We wanted to let you know that this behavior is not expected behavior for grids. This behavior is caused by a bug in a newer release of Profound UI. Our development team has implemented a fix for this and this fix will be available in the next release of Profound UI. If you'd like to have this fix before the next release, you can contact our support team to receive a patch.

You can email our support team using the following email address: support@profoundlogic.com.

Thanks!
Emily Seage
Support Team Lead
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Subfile Page down displaying wrong record on top

Post by Scott Klement »

To be clear:

What Megan is describing is the correct behavior when the scrollbar property is set to 'sliding' or 'paging'.

What Emily is referring to is a patch for when the scrollbar property is set to 'none'.
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests