Forum


14:56

25/05/2010

Hi,
I know my question will be really common...
I'm stuck for several days with the same issue: I don't how to do with the filtertoolbar!
My html page is showing the jqgrid, the data, and the input text under the column header.
Therefore, when I enter a value to filter my grid, nothing happens.
I have been trying to read examples, but it didn't help me.
As I understood, I would need to modify the php file (the query?), but I don't know how to do.
Could anyone help me? (i'm using xml data)
I'm so sorry to ask this question, but this problem is making me crazy.
17:44

10/08/2009

The answer to your question you will find in the first paragraph of the page /jqgridwiki/doku.php?id=wiki:toolbar_searching. Together with well known parameters with will be sent to the server additional parameters with the values selected in the toolbar will be added. As the names of additional parameters will be used indexed defined in colModel. So you should modify your server code to support this kind of input. You can use Fiddler (see http://www.fiddler2.com/fiddler2/) to see all information which will be send to the server.
Warning: Be careful is you both edittype: 'select' and stype: 'select' in your colModel or formatter: 'checkbox' and
edittype: 'checkbox', editoptions: { value: "1:0" }, stype: 'select', searchoptions: { value: "1:Yes;0:No" }
In this case you will have the value from select combo box always sent to the server.
Best regards
Oleg
Most Users Ever Online: 715
Currently Online:
63 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66