Valuelist displays former values

Forum to discuss the new web client version of Servoy.

Valuelist displays former values

Postby rieder » Wed Jun 21, 2023 7:17 pm

Hi

We must change valuelist items on record change. In SC this works fine. But with NG in a data grid with singleClickEdit = true, the displayed valuelist items are always the ones from the former record.
Either the event (onSelectedRowsChanged, onRecordSelection, onRecordEditStart) is too late or the items (combo or typeahead) are displayed too early.

Any idea, how we can display the correct, updated values?

Thank you and kind regards
Birgit
Birgit Rieder
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
rieder
 
Posts: 177
Joined: Thu Jan 26, 2012 5:18 pm

Re: Valuelist displays former values

Postby paronne » Wed Jun 28, 2023 10:53 am

Hi Birgit,

i am not entirely sure about your use case; however it reminds me this issue with related valuelist & singleEditClick = true: https://support.servoy.com/browse/SVYX-583
It has been fixed on version 2023.6 ( needs also the updated grid component package ).
You should try on 2023.6

If you can still replicate the issue i suggest you report it at support.servoy.com describing the step to reproduce, possibly you can attach a sample solution demonstrating the issue.

Regards,
Paolo
paronne
 
Posts: 203
Joined: Fri Nov 02, 2012 3:21 pm

Re: Valuelist displays former values

Postby rieder » Wed Jun 28, 2023 4:24 pm

Dear Paolo

Thank you for the answer. I can confirm, that the problem is related to singleClick = true: When I set the grid to singleClick = false and hook onCellClick event, where I load the valuelist and then edit the cell, it works. I'll try, if Servoy 2023.06 will have fixed this issue.

Thanks again and best regards
Birgit
Birgit Rieder
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
rieder
 
Posts: 177
Joined: Thu Jan 26, 2012 5:18 pm


Return to Servoy NGClient

Who is online

Users browsing this forum: No registered users and 20 guests

cron