Mega Search
23.2 Million


Sign Up

Make a donation  
How to synchronized a IWCGJQNavigator with a IWCGJQGrid ?  
News Group: embarcadero.public.delphi.thirdpartytools.intraweb

I'm using a TIWCGJQGrid to display some records from a table. I can't 
use the internal editor from the JQGrid and I'm displaying the record 
contents in a "detail" region at the left of the grid.
I use a TIWCGJQNavigator to move the records in the table and display 
next, prior, last and first on the "detail" region and it works as 
expected, but the row in the grid stays in the first record, not 
following the navigator changes.
The grid, the navigator and the TIWCGJQEdits are linked to the same 
datasource. How can I link the grid and the navigator to move 
synchronized to the "detail" region?
Best Regards
Francisco Alvarado.

Vote for best question.
Score: 0  # Vote:  0
Date Posted: 7-Sep-2013, at 9:13 PM EST
From: Francisco Alvarado
 
Re: How to synchronized a IWCGJQNavigator with a IWCGJQGrid  
News Group: embarcadero.public.delphi.thirdpartytools.intraweb
On 9/8/2013 7:32 AM, Zane Leo wrote:
> I had the same issue. Here is the answer:
>   [http://www.cgdevtools.com/cgforum/viewtopic.php?f=34&t=351]
>
> Regards,
>
> Zane

Thank you Zane, I'll try that.

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 8-Sep-2013, at 11:13 AM EST
From: Francisco Alvarado
 
Re: How to synchronized a IWCGJQNavigator with a IWCGJQGrid  
News Group: embarcadero.public.delphi.thirdpartytools.intraweb
On 9/8/2013 7:32 AM, Zane Leo wrote:
> I had the same issue. Here is the answer:
>   [http://www.cgdevtools.com/cgforum/viewtopic.php?f=34&t=351]
>
> Regards,
>
> Zane

That worked fine for moving rows in the grid using the external 
navigator, but if I click on the grid, the "detail" edits don't get 
refreshed.
Any ideas?

Best Regards
Francisco Alvarado

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 8-Sep-2013, at 8:59 PM EST
From: Francisco Alvarado
 
Re: How to synchronized a IWCGJQNavigator with a IWCGJQGrid  
News Group: embarcadero.public.delphi.thirdpartytools.intraweb
I had the same issue. Here is the answer:
 [http://www.cgdevtools.com/cgforum/viewtopic.php?f=34&t=351] 

Regards,

Zane
> {quote:title=Francisco Alvarado wrote:}{quote}
> I'm using a TIWCGJQGrid to display some records from a table. I can't 
> use the internal editor from the JQGrid and I'm displaying the record 
> contents in a "detail" region at the left of the grid.
> I use a TIWCGJQNavigator to move the records in the table and display 
> next, prior, last and first on the "detail" region and it works as 
> expected, but the row in the grid stays in the first record, not 
> following the navigator changes.
> The grid, the navigator and the TIWCGJQEdits are linked to the same 
> datasource. How can I link the grid and the navigator to move 
> synchronized to the "detail" region?
> Best Regards
> Francisco Alvarado.

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 8-Sep-2013, at 9:32 AM EST
From: Zane Leo