PHP Classes

phpMyDataGrid

Recommend this page to a friend!

      phpMyDataGrid - AJAX Enabled Datagrid  >  All threads  >  phpMyDataGrid  >  (Un) Subscribe thread alerts  
Subject:phpMyDataGrid
Summary:Congratulations, fixes and a little problem left
Messages:2
Author:LE RAT
Date:2006-06-29 14:59:29
Update:2006-06-29 21:57:29
 

  1. phpMyDataGrid   Reply   Report abuse  
Picture of LE RAT LE RAT - 2006-06-29 14:59:29
Congratulations for this handy and very simple class.
With only 1200 lines, this class handles a lot of fonctionalities.
I understand why you did not use CSS to handle style or font. In that way you can handle everything in the grid class. The visual html result is good but the html source is unreadable (too much style,font stuff).

I've found some fixes (reply on the first forum message to this class).

I've found the class is working better if I change all the $miwhere to $miWhere (or change all the $miWhere to $miwhere)
=> are the php variables case sensitive?

I have another problem: after I insert a new row, the pagination doesn't display the page that contains the new row.

Apart from this little discomfort, everything is working well.
The excel-like ajax fonctionalities are working well (after correcting the date bug).

I put a better french translation for commands =>
case 'francais':
$this->aText=array('cancelText'=>'Annuler','saveText'=>"Enregistrer",'editText'=>"Modifier",'deleteText'=>"Effacer",'addText'=>'Nouveau','bool0'=>'non','bool1'=>'oui',
'confirmText'=>"Êtes vous sûr de supprimer la ligne ?",
'serverError'=>"L'application n'a pas pu se relier au serveur de MYSQL. Erreur: ",
'prev'=>'Précédent','next'=>'Suivant',
'databaseError'=>"N'a pas pu se relier à la base de données.", 'searchText'=>'Recherche');
break;

  2. Re: phpMyDataGrid   Reply   Report abuse  
Picture of Gustavo Arcila Gustavo Arcila - 2006-06-29 21:57:29 - In reply to message 1 from LE RAT
Hi,

Thank you very much for your comments and for your contribution.

regarding to "I understand why you did not use CSS to handle style or font". Well, the answer is very simple... this class is the result of my test in "how the classes work", When I start to wrote the class I was a php beginner and I have not idea that CSS does exist... :-$ Now I know how to use it, is excellent, but I really have no time to do that in the class. :(

Regarding to "I've found some fixes". Thank you I'll check for that and post the corrected script as soon as I can. (If you already did this. I'll be very gratefull if you send it to tavoarcila <at> gmail dot com.

=> are the php variables case sensitive? Yes. they are case sensitive, If i'm using miWere and miwhere I'm in a error.

I have another problem: after I insert a new row, the pagination doesn't display the page that contains the new row.

mmm... yes, I received by mail the corrected script but in one of my monthly "format C:" I've lost that script. :(

Thank you a lot ...


Best Regards,

Gustavo Arcila