Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IwGrid + HTML Template + Async event = Position Problem
#1
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.

   

When I load the data into the grid through an Async event (eg IWButtonAsyncClick) the IWGRID moves to the foot of the page. 

   

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

   

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.


Attached Files
.zip   TestGrid2.zip (Size: 58.18 KB / Downloads: 7)
Reply


Messages In This Thread
IwGrid + HTML Template + Async event = Position Problem - by RobertoT - 09-18-2021, 08:40 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)