Sigma Php Ajax framework, Ajax Components, GUI Builder
May 17, 2012, 01:29:16 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: I need rows show more info.  (Read 1221 times)
kakahuete
Jr. Member
**
Posts: 5


View Profile
« on: August 12, 2008, 09:55:18 AM »

Logged
steven
Moderator
Hero Member
*****
Posts: 544



View Profile
« Reply #1 on: August 13, 2008, 02:20:12 AM »

I am not sure I understand you.
Currently grid doesn't support mulit-line, A solution to long text is http://www.sigmawidgets.com/products/sigma_grid2/demos/example_cell_long_text.html.
There are some ways to do move row. But could you tell me what if user sort it?
Logged

Sigma AJAX Data Grid - Easy to Integrate with PHP, ASP Classic, ASP.NET & Java
Sigma PHP Ajax Framework - WYSIWYG GUI Builder With Tree, Grid, Treegrid, Dialog, Tab & More Component
kakahuete
Jr. Member
**
Posts: 5


View Profile
« Reply #2 on: August 13, 2008, 08:49:43 AM »

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=198


Also 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.
« Last Edit: August 14, 2008, 07:51:52 AM by kakahuete » Logged
kakahuete
Jr. Member
**
Posts: 5


View Profile
« Reply #3 on: August 14, 2008, 07:47:35 AM »

One less dude.  Grin

Changing the properties of .gt-editor-text ,erasing the width:99%, the info of the selects fields appear all long it is.



For make this more elegant, I change also the properties of "overflow" in .gt-editor-container to show value in overflow case, for seeing  the select item in the first level, and its mother cell not hide part of this in the begining.




As usually, sorry for my unbearable english. Tongue
Logged
steven
Moderator
Hero Member
*****
Posts: 544



View Profile
« Reply #4 on: August 15, 2008, 02:26:50 AM »

I really spent some time to read through all of your post and could understand you roughly. Smiley
If you are trying to edit long long text, why not see http://www.sigmawidgets.com/products/sigma_grid2/demos/example_column_customize_editor.html
« Last Edit: August 15, 2008, 02:29:00 AM by steven » Logged

Sigma AJAX Data Grid - Easy to Integrate with PHP, ASP Classic, ASP.NET & Java
Sigma PHP Ajax Framework - WYSIWYG GUI Builder With Tree, Grid, Treegrid, Dialog, Tab & More Component
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!