CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Issues with MySQL and JQGrid and FireDAC

by assapan » 04 Apr 2016 11:04

Does this happens only with one table/Query ?
Do you have any error in javascript debugger ?
Want to visit Ardeche http://leclosdelarc.fr/index.php
The Pont d’Arc Cavern http://en.cavernedupontdarc.fr
Image
User avatar
assapan
 
Posts: 600
Joined: 16 Dec 2013 12:04
Location: France

by Omega8 » 04 Apr 2016 11:22

Yes this is the only FDQuery with issues. I have other FDQuerries in my application which work as expected. One populates the JQScheduler. They all work as expected. The Query is simple with only 3 columns: 2 strings and 1 tdatetime.
UserController has a theme defined for the application.

I have debugger on. There are no exceptions raised of bugs notifications.
Omega8
 
Posts: 87
Joined: 18 Mar 2016 22:42

by assapan » 04 Apr 2016 11:34

Can you try to add a row in DB , just to check if it's due to only one row ?
Want to visit Ardeche http://leclosdelarc.fr/index.php
The Pont d’Arc Cavern http://en.cavernedupontdarc.fr
Image
User avatar
assapan
 
Posts: 600
Joined: 16 Dec 2013 12:04
Location: France

by Omega8 » 04 Apr 2016 11:36

Here is the project:
http://www.wingover-automation.ch:8888/$/

if you click on Refresh in the grid. It displays FDQuerry.RecordCount which is one. The edit fields show what should be outputting
Omega8
 
Posts: 87
Joined: 18 Mar 2016 22:42

by Omega8 » 04 Apr 2016 11:47

Ok just added a second row and placed to more edit components. The edit components show the values of the querry which is correct
but the grid is still empty.

You can clicl here: http://www.wingover-automation.ch:8888/$/
Omega8
 
Posts: 87
Joined: 18 Mar 2016 22:42

by Alexander Bulei » 04 Apr 2016 11:48

Hi Omega8,

Your problem is in ServerController.
Please set the ServerController.ComInitialization to ciNormal or ciMultiThreaded

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: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by Omega8 » 04 Apr 2016 11:52

That was it. Thank you for your help.
Omega8
 
Posts: 87
Joined: 18 Mar 2016 22:42

by Alexander Bulei » 04 Apr 2016 11:56

Omega8 wrote:That was it. Thank you for your help.


Thanks to assapan for trying to understand your problem :)

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: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by assapan » 04 Apr 2016 12:05

I tried but i failed ;)
What kind of ole / com is needed in Grid ? beside this is why activate cominitialization ?
Want to visit Ardeche http://leclosdelarc.fr/index.php
The Pont d’Arc Cavern http://en.cavernedupontdarc.fr
Image
User avatar
assapan
 
Posts: 600
Joined: 16 Dec 2013 12:04
Location: France

by Alexander Bulei » 04 Apr 2016 12:06

Hi assapan,

Code: Select all
MSXML


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: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

PreviousNext

Return to JQGrid

cron

Who is online

Users browsing this forum: No registered users and 22 guests

Contact Us.