5.2 behaviour change on showing selected record?

Hi,

a customer just told me that, after moving from 4.1 to 5.2, the formindialog showing a list of record doesn’t move to the selected record anymore, if the list in longer than the max number of displayable records (say the list shows 10 records per time: if the selected is nr 4 no problem, it the selected is 31 the scrollbar cursor stays at the beginning).
I added a selectRecord, but it doesn’t work either: the selected record is correct, but the list stays on top.
I also tried removing the sort from the method calling the fid: same result.

Any advice?

Which 5.2 version are you using? Things have been fixed for this. I think you should have a look at 5.2.6

I work with Riccardo on the same project and we are using the latest 5.2.6. Does it work fine for you?

Yes, in 5.2.5 this case was solved:

[fix] 345723 Selected record not in viewport

This fixed the problem for us. Our problem occurred when the tableview was on a SplitPane

In web client I can still do the following in 5.2.5+ :

  1. Switch from a tableview form to a different detailview form with the same shared foundset.
  2. Navigate in detail form to a an index outside the pagination of the tableviewform.
  3. Switch back to tableview form.
  4. No selected row in viewport / pagination !

The switching is done by loading the form in a tabpanel with splitpane.

In Smart client this behaviour is corrected in 5.2.5

Regards,

michel:
Which 5.2 version are you using? Things have been fixed for this. I think you should have a look at 5.2.6

As Nick already stated, we’re on 5.2.6.
The record is selected, but selectRecord doesn’t scroll to the record (we’re in a formInDialog).
I also tried to update UI (just in case it was a refresh problem), but still no luck.

It sounds a lot like our fixed problem, but then slightly different. I think you should create a case, but I think they will ask you to make a small sample solution…

michel:
It sounds a lot like our fixed problem, but then slightly different. I think you should create a case, but I think they will ask you to make a small sample solution…

No problem: I will. :)
Thanks

Riccardino:
Hi,

a customer just told me that, after moving from 4.1 to 5.2, the formindialog showing a list of record doesn’t move to the selected record anymore, if the list in longer than the max number of displayable records (say the list shows 10 records per time: if the selected is nr 4 no problem, it the selected is 31 the scrollbar cursor stays at the beginning).
I added a selectRecord, but it doesn’t work either: the selected record is correct, but the list stays on top.
I also tried removing the sort from the method calling the fid: same result.

Any advice?

This will be fixed in Servoy 5.2.7.

lvostinar:
This will be fixed in Servoy 5.2.7.

Great: thanks Laurian. :)

Hi Laurien,

We just discovered this issue ourselves. I’m glad to hear it will be fixed in 5.2.7. Will this also be the case for the web client. If I add a record to a table view that is displaying page 1 or 5, will it automatically load the last page so the user can see the record just added?

lenore

Lenore:
Hi Laurien,

We just discovered this issue ourselves. I’m glad to hear it will be fixed in 5.2.7. Will this also be the case for the web client. If I add a record to a table view that is displaying page 1 or 5, will it automatically load the last page so the user can see the record just added?

lenore

The issue I fixed is for Smart client only, the problem was that scroll position was not remembered in tableview, form in dialog.