CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

LockOnAsyncEvents

by Alexander Bulei » 31 May 2019 12:22

Hi zsleo,
The improvement was for the overlay of lock indicator, so the lock will be applied on container/wrapper instead of itself.

I will appreciate a simple sample project with a data aware GCD dbgrid and a button.

Do I need to set anyhing different?


No, just a standard usage.

Can I now place a lock indicator on both CGD forms and frames


I recommend use only one LockIndicator component with several lockers inside. In this way, you just need manage the IndicatorIndex for each event.

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3637
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by Alexander Bulei » 31 May 2019 12:28

zsleo wrote:BUMP...
How do I lock the full page while a grid lock indicator is showing and just lock the grid?

TIA


By default, the lock indicator will lock whole screen.

If you want lock just a grid, you need set LockIndicatorItem.Control to the grid.

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3637
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by zsleo » 31 May 2019 19:56

Alexander,

Thank you.

After many years I think I am missing or not understanding something with use of db grid, so I will ask the question differently: how do i lock the whole form and not just a grid while the grid is updating. Assume multiple grids on a form/frame.

TIA
zsleo
 
Posts: 777
Joined: 03 Feb 2013 03:33

by Alexander Bulei » 03 Jun 2019 09:08

Hi zsleo,

Alexander Bulei wrote:By default, the lock indicator will lock whole screen.


Just assign the LockIndicator to the Grid.JQGridOptions.OnLoadComplete.Indicator...

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3637
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by allenmathew » 11 Jul 2019 12:07

Thank you for the post..
allenmathew
 
Posts: 1
Joined: 11 Jul 2019 12:04

Previous

Return to General

Who is online

Users browsing this forum: No registered users and 9 guests

Contact Us.