I will try to explain this the best way I can do:
I hope you can understand me. I am not good programmer, my knowledges are poor but I like this "script world" and learn step by step.
First of all the tooltip is working now. The problem was the functions for the mouseover and the mouseout was not in the final of the script.
I am using the example load in the load_json_obj_paging folder, because is very useful calling the mysql tables without reload all the page. I did all this for the moment. I hope you understand me:
I begin with the problem the php 5.1.4 use for me not contains the json methods. Because migrateing to 5.2 is dificult now, I fix this quickly using this script in the Controller.php:
And adding Json.php in the folder. Json.php can be downloaded in for example:
http://pear.php.net/pepr/pepr-proposal-show.php?id=198Also change this sentence, for view only the rows i need:
//to get how many records totally.
Ok. The last change I did in the controller.php script was like a merge with the controller in crud.php, and this way I can update, save, etc... in the own grid. The change is this. After de code:
I erase all after this and adding this:
And with the controller.php there is no more changer for the moment. Is just working with my mysql fine.
With index.html I made some changes:
When you use the select option, you have one initial problem :
You can change the data by double click, and select the definition of the value, but last the displayed value is the value, and this is confuse. For example, I have one column in mysql where I record numbers, and each number must be displayed like a word in the grid. I do work this using the method rendered returning the same text in the text instead img tag:
In this point I see one problem to solve. When the text in the select is large, the lenght of the displayed select is not adaptative, is as large as the column. I try to solve this after. Solved. Read the post after.