Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3773

Xojo2024R1 sorting WebListBox by column and loading row

$
0
0

I am not sure if this is a bug, but I can observe behavior that is really puzzling. When I select row in the WebListBox and load the details based on id in the row I get correct results. However, when WebListBox is sorted by column there is a scenario when reselecting previously selected row will load wrong details from the database. It appears as if the selected row number is out of synch with the underlying data list.

The problem of course is that detail will be wrong. This can be replicated with subset of rows that have identical value in one of the columns that will be sorted on, when list is loaded initially let’s say the selected row is 6, after sorting on the column up and down the selected row will change to 5, when this row is reselected again the underlying detail will be incorrect.

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 3773

Trending Articles