jqgrid

jqGrid : child-element ids can conflict when more than one grid appears on page: is there a setting to avoid this?

When you have more than one jqGrid on the page at the same time, their child-element ids can conflict. You might want to have three or four identical grids stacked one above the other, showing the same data but from different years. Child-element ids should have the table-id prepended to them. Is there a "fully-qualified|verbose ids" se...

syntax error! jqGrid problem parsed by Catalyst server.pl

Hi I'm new to Catalyst, I found server.pl built-in in catalyst module can not parse jqGrid correctly. Below is error messages: Error: syntax error Source File: http: //xxx:3000/site/static/js/i18n/grid.locale-en.js Line: 2 Source Code: Error: syntax error Source File: http ://localhost:3000/site/static/js/jquery.jqGrid.min.js Line...

jqGrid: different navigator buttons depending on login status

Hi all, I want to use different navigator buttons in jqGrid depending on login status. for example: if the user is logged in then add/delete/edit button appeared. Any ideas? Thanks in advance. ...

JSON and jqGrid. What is "userdata" ?

I'm having trouble understanding what all of the fields in a JSON datasource for a jqGrid means and I am not seeing any documentation for it anywhere. The example I'm trying to understand is this: http://www.trirand.com/blog/jqgrid/jqgrid.html and then the first example under "JSON Data" The JSON data can be accessed here: http://www...

jQuery Grid 3.5.3 issue

Hello, Today I installed a new version of the Grid 3.5.3 . I noticed that if the results have none rows but try to set a new width, I'll get the following error from Firebug : $t.grid.cols[lvc] is undefined Thanks, Vishnu. ...

How to refresh the data in a jqGrid?

Hello, I have been trying to get a grid to be updated from the datasource when a button is pushed. So I have in the click event something like this: $('#grid').jqGrid('trigger','reloadGrid'); However this does not work and I get an error thrown for unknown method 'trigger' I have also tried $('#grid').jqGrid('trigger("reloadGrid"...

Controlling JQGrid horizontal scroll bar in ASP.NET MVC Application

Hi, I have come across a problem with my JQGrids horizontal scroll bar in an ASP.NET MVC application. The issue is, i have given a fixed width to the grid, and expect that horizontal scroll bar should appear dynamically when i resize my columns; but it does not, instead, the grid spills out of the page. I have tried to add a div element...

cushycms - jqGrid - columns name::How can be jqGrid and cushycms work together?

Hi, If website have h1 tags to include to cushycms its simple <h1 class="cushycms"></h1> But in case of JqGrid table how can its can work with cushycms? I need to insert class="cushycms" to columns names of jqGrid. Example:How cushycms works with simple table(But with jqGrid I dont know): <table> <tr> <th class="cushycms">name</t...

Passing dynamic params to delete url method in JQGrid

I am using a JQGrid witha json service to list all the database users membership information, so the url of the grid points to my json service and method. Everything is working fine so far, I can add and edit the users and amend data and it saves fine. However the delete of a DB user is another story as the Membership.DeleteUser takes...

How to dynamically pass all of the jqgrid cell value when deleting a row

Dear All, I'm very new with JQGrid, so I apologize in advance if this a very 'duh' question.. The case is when I delete a row in the grid, jqgrid only pass the parameter id to the editurl. However, there are cases when I need more than one id parameter to delete a row, for instance for grid like this: {UserID, Message} => {(user1, "he...

Add an event handler to jqGrid after instantiation

I want to add an event handler to jqGrid (for the onSelectRow event) but after the grid has already been created on the page i.e. I cant hardcode it into the initial jqGrid definition. I have tried using setGridParam to set an event handler for onSelectRow but that didnt work :( $('#list').jqGrid('setGridParam', { onSelectRow: functio...

jqGrid print/export

I use only js (php backend) to create jqGrid. I want to add print/export to excel with js, not to include all the php classes for jqGrid (jqGrid.php) and duplicate code. Is it possible and how? ...

jqGrid - Scrollbar missing on Safari Mobile

For the most part, jqGrid works great under "Safari Mobile" on the iPad and iPod Touch. However, I noticed that on these devices a jqGrid will not display a scrollbar if there are more items in the grid than can be displayed on the page. You can scroll with two fingers to flip through the content, however since the scrollbar is not dis...

Can you use jqGrid within ASP.net using a webservice and javascript?

The jqGrid has been kicking my butt (as well as others on this site). I can't seem to get the JSON data from the webservice to load into the jqGrid when using the addJSONData method. Does anyone know if this is possible to do? I am not using MVC just a plain WebProject webservice in ASP.NET 3.5. I am using the latest version of jqGri...

How do I implement jqgrid v3.7 in my webapplication created using cakephp 1.3

I am trying to implement jqgrid v3.7 in my webapplication created using cakephp v1.3. My controller code is as follows function admin_index() { // get how many rows we want to have into the grid - rowNum parameter in the grid $limit = $this->params['url']['rows']; // get index row - i.e. user click to sort. At first time s...

jqgrid Page 1 of x pager

I am trying to figure out how to user the paging functionality of the jqGrid. Currently I am stuck on Page 1 of 4. No matter if I press the Next button or not. It just stays on 1. I am using ASP.Net with a webservice to populate my JSON data. How do capture the event from the client to populate the property on the webservice to bring...

jqGridmin.js produce error in FF when doing quick switching between grids

When I'm attempting to switch between filters and loading up different jqGrids in succession, I sometimes get this error in FF: i.p is undefined (line 108), which is this line: j.p.lastsort=b.inArray(j.p.lastsort,f);if(j.p.treeGrid)j.p.expColInd=b.inArray(j.p.expColInd,f)},setGridWidth:function(f,k){return this.each(function(){var i=th...

Pass search paramters to jqGrid via $_POST/$_GET

I'm loving jqGrid, but stuck on one thing. Am trying to send parameters to the jqGrid page via $_POST/$_GET, but not able to force the jqGrid instance to initialize with results filtered by said parameters. Have tried hardcoding like: jQuery("#list").jqGrid({ .... }); //load passed search terms $("#list").setGridParam({url : 'https...

jgGrid not displaying json data

This is driving me crazy, so any help would be awesome: My html is as follow: <asp:Content ID="Content3" ContentPlaceHolderID="Content" runat="server" class="MainLoginScreen"> <table id="StudyTable"></table> <div id="StudiesPager"></div> </asp:Content> My javascript is as follows: <script language="javascript" type="te...

Get the client side value of a grid cell containing a <select>

I am trying to write a jquery function that scans the whole of a jqrid to check if any of its cells have a value. The issue I am having is that there does not seem to be a way of retrieving the selected value of a cell that contains a select box. The jqgrid docs clearly states the following for the getCell and getRowData methods. Do...