Home › Forums › Guriddo jqGrid JS › Help › editoptions in jqgrid
Dear trirandblog,
I have two questions about the editoptions in grid.
1.) I want to make the search bar static so you don't have to click on search.
2.) With
1) Not sure if I understand what you mean but If you mean have not search option put this option in false in the “standard”
2) I know that I have to use server side code to create a value but how?
This won't work:
editoptions:{value:”:<? $select ="select * from table";
$query = mysql_query($select);
while($list=mysql_fetch_assoc($query)){
echo''.$list['blaat'].'';
}
”}
How to make it work?
Hello,
Refere to PHP functions how to convert SQL query result to
the string that is acceptable in jqGrid.
Regards
Tony
Where can I find the php functions
for jqgrid searching for days can't find
a good example?
I know php well but it wont work sorry being noobish
This won't work :
Try to echo the result and see what you have. See what you
output with this PHP code is compatible with the options.
Also if you make pure PHP
echo $row[tax];
What you have?
Everytime I get the error “undefined” or no
result (blank). The result is from search.php.
echo $row[tax]; doesnt work again
no result.
please give me a good example .
I want a dynamical selectbox that
get values from the database.
Thanks for helping tony
php.net is a good start. Also check how to work with mysql functions
I know how php works!
But I dont know how to integrate it
in your plugin.
I get the error undefined every time
I suggest first to try with simple data not generated from PHP.
The example
Tony I have a strange error with the database.
My records are visable but when I call a function
like this in my page:
<? include("dbconfig.php");
I have solved it!
I have made a dbconfig.php on the page
itself!
Now I have a dynamical dropdownlist.
But now I want to show my grid without
jqgrid.html but nothing displays.
check:
http://www.egmondonline.furion.nl/excel/demo.php
view the source code.
pappie, the link you provided above seems to be broken. Can you post an updated, working link? I'm interested in seeing you code. I need to do this same thing in a JSP, but would like to see how you got it working with php.
thanks.
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS