Got it. Use this instead:
Hi Tony,
Thanks Tony. I need to send back to the server the primary key of the record being searched so that I can query the path leading to the record being searched like this:
|
1 |
SELECT parent.name<br />FROM nested_category AS node,<br />nested_category AS parent<br />WHERE node.lft BETWEEN parent.lft AND parent.rgt<br />AND node.name = 'FLASH'<br />ORDER BY parent.lft;<br /> |
I switched to xml, and it works fine. Reading other posts seems like datatype = json is having some issue.
Tony,
That worked like a charm. Thanks for always finding time to reply. I really appreciate it. I think that has a lot to do with the success of the grid. Thanks again.
Hi Tony,
$(this).jqGrid('setRowData', rowId, false, {'font-weight':'bold'});
still does not make the entire row bold.
Thanks for your reply.
Thanks Tony. Your workaround work for me.
I reset url to aAction=RefreshData before reloadding the grid because
Hi Tony,
I selected all components and downloaded 3.6.4, and it still does not work. When I switched back to jquery 1.3.x, it works. Thanks.
Hi Oleg,
Thanks for your response.
For some reason, I missed posting the css section in the question. However, I did have it in my codes. I took your advice and added multiselect js and css files. Still not working. Here is my entire section:
All,
I finally figured it out. My and my stupid had two lines of editRow like below. Don't ask me why.
I finally figured it out. The image for those buttons are missing from my jQuery UI download. You will need to download it from traiand.com. It does not automatically come with jqGrid download.
For Add/Edit/Delete/Refresh/Search buttons, follow this link:
http://trirand.com/blog/jqgrid/themes/redmond/images/ui-icons_6da8d5_256x240.png
For the triangle (at the top right corner of the grid) that allows you to collapse the grid, follow this link:
http://trirand.com/blog/jqgrid/themes/redmond/images/ui-icons_d8e7f3_256x240.png
After downloading, move them to theme/images folder so that ui.theme.css can access them.
Just want to post it in case somebody needs it.
Thanks.
I got it. The data shown in the original post was the result of var_export($response) while I was debugging. I changed it to json_encode($response), and it worked like a charm. Thanks.
I upgraded jquery to version 1.4.1, then the error goes away. However, nothing shows up inside the grid. Any idea? Thanks.
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top