Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IWDBGrid - (RefreshAsyncRender, DoRefreshControl)
#1
Good afternoon, working with an example template, I try to asynchronously refresh an IWDBGrid control to see the changes of a DataSet. I have used the RefreshAsyncRender method and the IWDBGrid1.DoRefreshControl := True; property. I can see the changes to the DataSet but the control scrolls below all other controls. Even if I don't have any DataSet connected to the IWDBGrid the control changes position.

Initially:

{%IWBUTTON1%}
{%IWBUTTON2%}
{%IWDBGRID1%}
{%IWBUTTON3%}
{%IWBUTTON4%}


After applying the mentioned method and property:

{%IWBUTTON1%}
{%IWBUTTON2%}
{%IWBUTTON3%}
{%IWBUTTON4%}
{%IWDBGRID1%}

I attach an example project. If this is an IntraWeb failure, which of the two ways should I use to correctly refresh the IWDBGrid asynchronously? Thanks


Attached Files
.zip   RefreshError.zip (Size: 92.13 KB / Downloads: 3)
Reply


Messages In This Thread
IWDBGrid - (RefreshAsyncRender, DoRefreshControl) - by raulevm - 03-26-2023, 07:35 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)