Ajax DataGrid Support Product Page

I can't get the Updated datagrid to work

Asked 29 Mar 2011 01:13:07
1
has this question
29 Mar 2011 01:13:07 Phil Boyle posted:
I recently got the updated datagrid extension of for it isn't working. I had no problem with the previous extension. It's as if it can't read the database. I put in a recordset on the thw same page and that read the database okay.

I've uploaded all the support files (twice), nothing

Here is the code of a test page:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<link rel="stylesheet" type="text/css" href="../Styles/dmxGrid/dmxgrid/dmxgrid.css" />
<script type="text/javascript" src="../ScriptLibrary/jquery-latest.pack.js"></script>
<script type="text/javascript" src="../ScriptLibrary/flexigrid.pack.js"></script>
</head>

<body>
<div class="dmxgrid">
<script type="text/javascript" language="javascript">
<!--
$(function(){$('#dmx_grid2').flexigrid({
url: "../ajax_servers/dmx_grid1.php",
title: "Test",
navbarOnTop: true,
nowrap: false,
resizable: false,
dataType: "json",
rpOptions: [5, 10, 15, 20, 25, 30, 35, 40, 45, 50],
colModel: [{
display: "nameP1",
name: "nameP1",
width: 100,
sortable: true,
align: "left",
hide: false
},
{
display: "homeClubP1",
name: "homeClubP1",
width: 100,
sortable: true,
align: "left",
hide: false
}]
});});
//-->
</script>
<table id="dmx_grid2"><tr><td></td></tr></table>
</div>
</body>
</html>

Replies

Replied 29 Mar 2011 11:01:29
29 Mar 2011 11:01:29 Miroslav Zografski replied:
Hello Phil,

Please pass here a link to your page. that is the best way for us to determine what may have gone wrong.
Also it will be good if you can pass /ajax_servers/dmx_grid1.php file. to my e0mail -

Regards,
Replied 29 Mar 2011 23:03:33
29 Mar 2011 23:03:33 Phil Boyle replied:
I found out the problem, I can't fix it. The datagrid isn't connecting to the database through a secure socket layer when I've used the datagrid before it wasn't through ssl. Do you have any way around this?
Replied 30 Mar 2011 10:54:11
30 Mar 2011 10:54:11 Miroslav Zografski replied:
Hello Phil,
SSL connection is something that is depending on the way yuo have set up your site. If you have set up the site in a manner to connect to the production server ( remote ) then you should be able to connect data grid to the database as well as the native DW recordset. In general Data grid uses same DW functions for connecting to the database as the native recordset.

Regards,
Replied 06 Apr 2011 23:21:12
06 Apr 2011 23:21:12 Phil Boyle replied:
Thanks. I worked with my hosting company and resolved that issue.

Reply to this topic