Valuelist displays former values

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

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

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