Hi All,
WebDev-12:
I have a table linked to a query. The table is in Ajax mode and can display 5 records without a vertical scrollbar. I execute the query and display the table using:
HExecuteQuery(Query Name,hQueryDefault,param1)
TableDisplay(Table Name,taStart)
What I have noticed is for the first 5 records, everything is fine. However if I scroll down to see records 5 to 20, then the table displays a wrong (random list of records).
For example: If I have records: 1,2,3,4,5,6,7,8,9,10..19,20 then what I see on the table is something like: 1,2,3,4,5,6,2,4,8,10,9,14 etc.
Notice: The first 5 or 6 are always correct. The rest are not.
If I adjust the table height to see the first 10 without scrolling then the first 10 or 11 are correct.
The problem seems to be when you need to scroll down the list of records.
I have also noticed that if I issue the "TableDisplay" command twice, then it works perfectly? For example:
HExecuteQuery(Query Name,hQueryDefault,param1)
TableDisplay(Table Name,taStart)
TableDisplay(Table Name,taStart)
Has anyone else noticed this? Is this a bug?
Regards
Shahine