jqgrid

jqGrid inline edit problem

I wanna use jqGrid inline(row) edit, but how can I put "Edit", "Cancel", "Save"and "Delete" buttons besides every row. There's a example in officaill website about how to put "Edit", "Cancel" and "Save" buttons for inline(row) edit, I tried to put delete button, but it doesn't work. How can I do it? thx ...

jqGrid and ASP.NET MVC URL posting problem

Hi all, I have a problem with jqGrid and ASP.NET MVC framework. Namely, jqGrid is working fine, until the point when I have in address bar URL like this: http://[domain]/Controller/Action It gives me JS error: "Object doesn't support this property or method". When URL is like this: http://[domain]/Controller everything is working...

Using jqGrid userdata

I have a jqGrid on an ASP.Net MVC view. I want to use to pass the value of a hidden text control on the page as an additional parameter to a jqGrid method. I have the following hidden text field: <div> <%= Html.Hidden("contactId", Model.ContactId) %> </div> and I want to do something like: userdata: {contactId : jQuery('#contactId')...

Basic JQgrid question - how do I get the examples to work?

Hi, I'm trying to replicate the inline editing jqgrid examples given at http://trirand.com/jqgrid/jqgrid.html I have tried reading the documentation http://www.secondpersonplural.ca/jqgriddocs/index.htm but I can't get the inline examples to work. . What am I doing wrong? I have created the database and have the default example worki...

Implementing search feature on jqgrid?

I tried so hard, I dont understand what is missing in my codes. ASP CODES: SEARCHFIELD = Request.QueryString("SEARCHFIELD") SEARCHSTRING = Request.QueryString("SEARCHSTRING") SEARCHOPER = Request.QueryString("SEARCHOPER") JSCODES: var lastsel; $(function() { $("#list").jqGrid({ url: 'orders.cs.asp?Process=ViewOrders',...

How to display information in jqGrid that there are not any data?

When jqGrid is empty I want to display single empty row inside the grid with information message that there are not any data. How is this possible? Thanks ...

jgGrid doesn't respect my imgpath

I'm trying to use jqGrid, but it doesn't respect the imgpath, it always defaults to "\themes\default\images" I'm setting: imgpath: "..\..\Content\themes\default\images"; But it doesn't respect that and uses the default path, am I missing something? ...

How to use jqGrid with C#/ASP.NET and JSON.NET (and no AJAX.NET stuff)?

OK, I've been looking into this a few days and am not particularly sure what I am doing wrong. If anyone has working examples of using jqGrid with C#/ASP.NET and open source tools, please, please let me know where to find them. Any tips on finding decent documentation or tools I could use to debug this would be most appreciated too (I'...

jqGrid - How does one configure jsonreader (for use with Jayrock)?

Hi, I wondered if someone might have some insight into this. jqGrid is quite happy with this JSON string: {'page':'1','total':1,'records':'4','rows':[{'id':1,'title':'Story Manager','assigned':'2009-06-22T10:52:28.0687738-05:00','due':'2009-07-29T10:52:28.0687738-05:00','completed':'2009-07-14T10:52:28.0687738-05:00'},{'id':2,'title':'...

JQGrid subgrid Url: Is it possible to change the value of ?Id=id

Hi folks, I'm trying to implement a JqGrid with a subgrid as so... jQuery(document).ready(function() { jQuery("#list").jqGrid({ url: '/OrganizationalUnit/FindAll/', datatype: 'json', mtype: 'GET', colNames: ['Name', 'Actions'], ...

jqGrid with ajax binding?

Hi everyone, I'm trying to implement a simple function using jqGrid, but it doesn't seem to work and I was wondering if anyone has an explanation. Basically one column of jqGrid returns (through JSON) <a href="#" id="special">Click</a> Outside the column, I have a jQuery listener that is of the form $("#special").click(function () {...

jqGrid JSON add data

Dear all, Let's say I have a perfectly fine JSON serialized string, like so: {"Page":0,"Total":0,"Records":0,"Rows":[{/*blah*/}]} This isn't returned by a particular URL, it's just sitting there, happy as it can be (harcoded). How do I add it to jqGrid? I've tried every conceivable variation of the loadComplete function or a addJSONDa...

Web Grid, Client side Binding VS. Server side HTML generation

I'm working on replacing an existing web grid in an ASP.NET web application, with a new implementation. The existing grid is powerful, but not flexible enough. It also brings with it all kind of frameworks we don't like to have on our web pages. While looking into existing options I noticed I can break the available solutions into two m...

JqGrid and Search form - ASP.NET MVC

Came across this article, link text, and reading through, the article had a screen shot of something that I want to provide on my site. This is what I want, Is jqGrid the best way to go? All I want is that search parameter interface. The search result I want to display in a tabbed window, which I will work on next. ...

Is there any way to set the search options per column in jqGrid 3.4.4?

So I'm using jqGrid with my mvc.net / Ling2Sql prototype site that I'm making and I've done the work to get jqGrids search functionality up and running. Its pretty sweet actually, but since you cant search by >, >=, < or <= with strings, I wanted to setup the search options per column. I know I can set the overall search options for th...

How to call getChangedCells method for jQGrid CellEdit

I can get the changed cell/row values using the following: var ret = $(”#grid”).getChangedCells('all'); // Return Rows or var ret = $(”#grid”).getChangedCells('dirty'); // Returns the changed cells. ...

jQuery button click refresh of jqGrid only firing once

I have the following jQuery code which I'm using to populate a jqGrid. It works perfectly posting to my ASP.NET MVC page on the first click of the button. My problem is, any other clicks past the first it seems to run through the jquery code when clicking the button but it never makes it to the POST page. Any ideas why? <script type="te...

jqGrid with ASP.NET MVC problem displaying records

I am using Craig Stuntz article on Using jqGrid with ASP.NET MVC: Search and Formatting, http://blogs.teamb.com/craigstuntz/2009/04/27/38243/ Using HttpFox I can see the json data being returned successfully but it will not display in the grid. The displays fine, but with no data and page numbers. Can anyone see a problem with this $(do...

html link column in jqGrid

Is it possible have a html link in a column with jqGrid, I can't find any example in the documentation? ...

How can I hide the jqgrid completely when no data returned?

I'm having a heck of a time trying to only display my jqGrid when records are returned from my webservice. I don't want it to be collapsed to where you only see the caption bar either, but if that's the best I can do, I suppose that I could put a meaningful message into the caption. Still, I'd much rather just hide the grid and show a ...