09-18-2021, 08:40 PM
Buongiorno a tutti,
I have a problem with the IWGRID after an onAsync event : it loses its position.
Let me explain : The IWGRID (yellow) is placed in an HTML Template and its position is at the top of the page.
[attachment=415]
When I load the data into the grid through an Async event (eg IWButtonAsyncClick) the IWGRID moves to the foot of the page.
[attachment=416]
I use the IWGRID.refresh command to bring up the updated data.
When I press F5 the IWGRID it positions itself correctly.
When I use an OnClick event to load data into cells, IWGRID always positions itself correctly
[attachment=417]
If I don't use the HTML template it works fine.
I have made several attempts, but I do not understand if I am making a mistake or if there is a problem in the Intraweb
I am attaching photos and a sample project.
Delphi 10.1 - Intraweb 15.2.37
Thanks in advance.
I have a problem with the IWGRID after an onAsync event : it loses its position.
Let me explain : The IWGRID (yellow) is placed in an HTML Template and its position is at the top of the page.
[attachment=415]
When I load the data into the grid through an Async event (eg IWButtonAsyncClick) the IWGRID moves to the foot of the page.
[attachment=416]
I use the IWGRID.refresh command to bring up the updated data.
When I press F5 the IWGRID it positions itself correctly.
When I use an OnClick event to load data into cells, IWGRID always positions itself correctly
[attachment=417]
If I don't use the HTML template it works fine.
I have made several attempts, but I do not understand if I am making a mistake or if there is a problem in the Intraweb
I am attaching photos and a sample project.
Delphi 10.1 - Intraweb 15.2.37
Thanks in advance.