Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with IWDBGrid Async refresh
#29
This time IW is doing what it is supposed to do.

The problem with your project is that you set:

ServerController.RenderAsyncEnabled := False;
IWForm.RenderAsyncEnabled := True;

It should be:

ServerController.RenderAsyncEnabled := True;
IWForm.RenderAsyncEnabled := True;

The form property can disable the global setting but not enable it. Meaning:

RenderAsyncEnabled should be always True for all projects and all forms. This is the default behavior.

*If* you have some specific need in one of your forms you can disabled it for that specific form permanently (i.e. setting it to False at design time) or temporarily (setting it to False when responding to some request). If you disable it globally in the ServerController, this means that it won't be ever be enabled in your application. The grid async refresh needs it to be enabled.

Does it make sense?
Reply


Messages In This Thread
RE: Problem with IWDBGrid Async refresh - by Alexandre Machado - 10-03-2020, 12:48 AM

Forum Jump:


Users browsing this thread: 9 Guest(s)