2010/7/15 ProfessionalIT <[email protected]>

> Aydın ŞEN,
>
>  A question:
>
>    - When you click in the a hearder column or make a search it re-
> make the query to re-order the the results ? because I don't look this
> in your example code.
>
>
I didn't hanle all data that sent from jqGrid, if you check documentation
[1] "Loading data --> Json data" section you ll see all data received in
post.

*i['sidx']* #get index row - i.e. user click to sort
*i['sord']* #get the direction

When user search in grid jqGrid sends searching column name and serach
keyword with post data. In previous example if user search name column, you
ll receive something like in your post data
*i['name'] = "aydin"*
after that build your sql how ever you want.

[1]: http://www.trirand.com/blog/jqgrid/jqgrid.html
<http://www.trirand.com/blog/jqgrid/jqgrid.html>
-- 
Aydın Şen

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to