Page 1 of 1
Subfile Page down displaying wrong record on top
Posted: Fri Jun 21, 2019 3:20 pm
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 !!!
Re: Subfile Page down displaying wrong record on top
Posted: Fri Jun 21, 2019 3:47 pm
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.
- Write extra empty rows to the grid when filling the subfile.
- 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!
Re: Subfile Page down displaying wrong record on top
Posted: Fri Jun 28, 2019 8:04 am
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!
Re: Subfile Page down displaying wrong record on top
Posted: Sat Jun 29, 2019 6:19 pm
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'.