jqgrid

jqGrid trigger "Loading..." overlay

Does anyone know how to trigger the stock jqGrid "Loading..." overlay that gets displayed when the grid is loading? I know that I can use a jquery plugin without much effort but I'd like to be able to keep the look-n-feel of my application consistent with that of what is already used in jqGrid. The closes thing I've found is this: htt...

jqGrid inline editing event on "Esc" cancel

Does anyone know if jqGrid inline editing throws events that can be handled? The following code is a simple example of what I'm trying to accomplish: jQuery('#list').jqGrid('editRow', 0, true, false, false, false, {onClose: function(){alert('onClose')}}, reloadGrid); I'd like to be able to handle an "Esc" cancel event. The onClose e...

jqGrid local data manipulation; problem with row ids when deleting and adding new rows

I'm using jqGrid as a client side grid input, allowing the user to input multiple records before POSTing all the data back at once. I'm having a problem where if the user has added a few records (say 3 ) the id's for the records will be 1,2,3. if the user deletes record 2, you're left with 1 and 3 for the id of the records. When the us...

jqgrid and popup modal windows from link

Hi, I have got a jqgrid, and i would like to put a link in it to open up more details on the row in a modal window. Everything i have read about modal windows uses a div that gets shown when you click the link, but i want to pass an id so i can just get the info i need. I know i could do it with a new window quite easly but i would lik...

jqGrid tableToGrid "options" parameter

Basics Hi all, I have see the tableToGrid method (by Peter Romianowski) defined as tableToGrid(selector, options) on the jqGrid wiki, but cannot find anywhere that has documentation of the options Does anyone know about these or where to find them? EDIT: Thanks Oleg, resolved! More What Im actually trying to do is encase the resultin...

Any free (or cheaper) jqGrid alternatives?

UPDATE: Sorry, this was a missunderstanding on my part. There are free and commercially supported versions - (see Rumen's answer). Does anyone know of a similar component, for use with ASP.NET MVC, which is either free or cheaper? Thanks EDIT: If looks like I may have got the licensing terms wrong. From this page, it looked l...

Rails: using gridify a jqgrid wrapper does not display data

Has someone a working example with sample code. I integrated the plugin as described in http://github.com/linoj/gridify. I see the grid header but no data. i have verified that I am sending data from the controller. Anyone has answers or a complete sample that is download-able? thanks sukanta ...

How to suppress jqgrid from initially loading data?

I have a page that has a couple of jqGrids on it, along with a few other fields. I want to make one AJAX call myself that pulls back a JSON object that has the data that should be used to fill the entire page. So, I would like to make the call myself, populate the "other fields" and then pull a couple of collections off of the main JSON...

jqGrid disable sortablerows

I'm trying to disable sortablerows functionality from a grid. I'd like to have the ability to toggle on/off the sortablerows functionality. Enabling the feature is pretty straightforward: jQuery("#list").jqGrid('sortableRows', { update: function(event, ui) { updateOrder() } }); But disabling the feature has proven to be a littl...

jqGrid formatter and sortable column - doesn't sort

I am using a custom formatter for my jqGrid columnModel and I can't get sorting to work with formatter functions. If I remove formatter column sorts normally. jQuery("#listAgentOptions").jqGrid({ height: 240, datatype: "local", colNames: [' ', 'First Name', 'Last Name', 'Role'], colModel: [ { name: 'status', index: ...

jqgrid add link to column headers

I'm using jqgrid to create a grid. I have looked but can't seem to find a solution. I'm trying to add links to the column headers. Any help appreciated. Thanks ...

Call a function from a button that is created during jqGrid's gridComplete event?

I'm trying to call a function in the onclick event of the button that is created during the gridComplete event..Loads OK…here's what the rendered html looks like for the button in the first row <input type="button" onclick="deleteRow(9197113);" value="Delete" style="height: 22px; width: 70px;"> but when i click the button…the function...

JQgrid: Two linked select dropdowns

Can someone point me to an example whet I can have 2 select boxes in a grid and by selecting an item in one box, sends a request back to the server to get the other items for the second select box. Like one is linked to another. Is there a onSelect or onChange that I can fires off after selecting the first selectbox? Thanks in advance....

JQgrid - Get Row Number instead of ID

Hello, all, I am creating a JQGrid from a database table that does not contain a single field primary key. Therefore, the field i am supplying as id is not unique and the same one exists in several rows. Because of this, when passing a reference to the data with ondblClickRow to a function external to the grid i need to use the rownumb...

what is the jqgrid footer json format

hi. i am currently trying to solve my problem with the total in the footer. i tried searching in the internet with some examples, but they are using php, and i am using java. can you please show me what exactly the json looks like for this php script $response->userdata['total'] = 1234; $response->userdata['name'] = 'Totals:'; is thi...

obtaining data from jqgrid on mouseover

Hi, I'm trying to do a mouseover for the jquery and when the mouse is hovered over a certain row I can get the id from that row and populate information and display an image. However, I have been having the hardest time trying to do so. Here is what I want to happen Just like in the onSelectRow where I obtain the data using the follow...

not able to display the grid using jquery

<div> <%= Html.Trirand().JQGrid(Model.JqGrid,"Grid1") %> </div> I am follwoing the same code sample.. http://www.trirand.net/demoaspnetmvc.aspx but not able to dispaly the grid.. can any one tel me what could be the reasons for not showing grid? Thanks ...

Delete jqGrid rows client-side only and sending deleted rows to ASP.NET MVC on form POST

The question is likely confusing and I apologize. I wasn't sure how best to word it. I am using jqGrid in a jQueryUI dialog which is inside a form. The user will use this form to create and edit Events. Upon editing, the user can click a button to open a dialog showing a grid of saved locations for the event. I want to give them the...

POST Ajax call results in not found using jqGrid and ASP.NET MVC 2 on IIS6

This is puzzling me. I deployed an MVC 2 application to IIS6 and everything works fine except for my jqGrid calls to get data. All is well on my development machine, but here are the two URLs I'm working with Local dev web server: POST http://localhost:port/Ctrl.mvc/JsonMethod IIS6 (notice https - not sure if that matters) POST ht...

jqGrid move drag rows

I'm lookin for a way to drag a group of selected rows using jqGrid. ...