Annappa Poojary - 2007-09-22 05:45:58 -
In reply to message 2 from Gustavo Arcila
I tried u r suggestion. Still I had these issues.
The below code works fine in Mozilla Firefox. But same code wont works in IE 6 or 7. Initially it loads the filled grid perfectly. But if we do paging or sorting means it hangs.
This is my sample appliaction.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>Untitled Document</title>
<?php
include("phpmydatagrid.class.php");
$objData = new datagrid;
$objData->form("MyTest", false);
$objData ->methodForm("POST");
$objData -> connectadb("localhost","root","","TestDB");
$objData -> tabla("Employes");
$objData -> datarows(3);
$objData -> FormatColumn("Name", "Name", 30, 30, 1, "50", "left");
.
.
.
$objData -> setHeader();
?>
</head>
<body>
<form method="POST" name="MyTest">
<?php
$objData -> grid();
$objData -> desconectar();
?>
</form>
</body>
</html>
Thanks for u r valuable suggestion.