jqgrid

Implementing jQuery's jgGrid with ASP.Net and JSON formatting

Has anyone been able to implement the JQuery grid plugin, jqGrid? I'm trying to implement the JSON paging, and I feel like I'm getting close, but that I am also being swamped by inconsequential details. If anyone could post some sample code, I would greatly appreciate it. ...

jqGrid with JSON data renders table as empty

I'm trying to create a jqgrid, but the table is empty. The table renders, but the data doesn't show. The data I'm getting back from the php call is: { "page":"1", "total":1, "records":"10", "rows":[ {"id":"2:1","cell":["1","image","Chief Scout","Highest Award test","0"]}, {"id":"2:2","cell":["2","image","Link Badge","When you are inve...

Can't get the object from a cell in jqGrid (jQuery)

This is the issue, when I define the ddl (drop down list or select box) I don't know the selected value. When a user edits a row, the user can select an item from the list. But the selected item isn't set. I want to set the selected item when the user clicks a button to edit the row. The proper way, I think, is to get the ddl that was ...

How to implement search on jqgrid?

So I've got basic example of jqgrid working in ASP.NET MVC, the javascript looks like this: $(document).ready(function() { $("#list").jqGrid({ url: '../../Home/Example', datatype: 'json', myType: 'GET', colNames: ['Id', 'Action', 'Parameters'], colModel: [ ...

With jqGrid, can you have multiple grids on the same page with different themes?

I have a master/detail setup using jqGrid and jQuery. Is it possible to have the detail grid use a different theme/skin than the master grid? I see a setting to change the images folder, but it looks to me like grid.css would have to be the same for the entire page. Has anyone tried? Or do you have any suggestions for a workaround? ...

Using JQGrid in conjunction with WCF Web Services

I am trying to obtain the data for JQGrid from a WCF Web service that is running from within my ASP.NET 2.0 WebForms application. The problem is that the WCF Web service expects the data to be formatted as a JSON string, and JQGrid is performing an HTTP Post and passing it as Content-Type: application/x-www-form-urlencoded. Although ...

JqGrid addJSONData + ASP.NET 2.0 WS

Dear community ! I am a bit lost. I' ve tried to implement a solution based on JqGrid and tried to use function as datatype. I've setted all by the book i guess, i get WS invoked and get JASON back, I got succes on clientside in ajaf call and i "bind" jqGrid using addJSONData but grid remains empty. I do not have any glue now... other "...

jqGrid Grouping Without Subgrids ?

Is it possible to group in jqgrid without using subgrids ? I just want a heading that spans all columns with the group title, not a subgrid with different headings. The only examples of grouping I can find seem to use a full subgrid. ...

jqGrid, ASP.NET, JSON is Driving me crazy. Please Help.

Hi there - I've been trying to get this to work for days upon days and it seems like one thing after another. Initially, I finally tracked it down to trouble passing ASP.NET dates in the JSON string back to the grid. I am now using JSON.NET and the dates are coming back the way they should be I'm stuck right back where I alwasy seem to b...

How do I get jqGrid to work using ASP.NET + JSON on the backend?

Hi friends, ok, I'm back. I totally simplified my problem to just three simple fields and I'm still stuck on the same line using the addJSONData method. I've been stuck on this for days and no matter how I rework the ajax call, the json string, blah blah blah...I can NOT get this to work! I can't even get it to work as a function when a...

ASP.NET MVC + jqGrid Embedded Links Best Practices

I have a Mvc app that I am replacing some hard rendered tables with jqGrid [XML]. Problem is I have action links in one of my columns to perform certain actions on the rows. I have these duplicated using CDATA tags in my XML; however the problem is that now this tag is generated in an action method so all the HTML is in my controller (...

jqGrid with custom cell colors

Is it possible in jqGrid(jquery grid http://www.trirand.com/blog/) to have custom cell text colors e.g. in price column i want red if price > 100$ and green if price < 50$ else grey? More generally do jqGrid provides hooks to change grid cellview, e.g. i can register a callback whenver cells of price column are created or modified. o...

jqGrid, rowedit, php posts names instead of values to the db

Hello: I need to dynamically edit and change the server data. http://pssnet.com/~devone/ajqtable/editgrid2.html Right now, when the fields get edited php posts names instead of values to the db. My assumption is that on submit, the editurl will be called upon with the changed data. I read in the docs that I may have to add an onSubmit...

Jquery tree grid (jqgrid) xml structure for sub-items

Can anyone please tell me the XML structure for sub-items that jqgrid uses. I've read the documentation and it does not explain clearly how one would create a tree view with sub-items in it. Basically I have a 2 column grid with 3 levels. ...

Making a truly destop like table grid (how to show enough empty rows to fill the height of table grid)

I'm really concerned about the aesthetic aspect of my web app and that's why I'm asking this sort of a silly question. Forgive me in advance if you think it's not that much a big deal. I'm building a desktop like web app and using jqGrid awesome plugin to show some tabular data. In desktop applications like iTunes, the table has enough...

jqGrid, how to populate select list from query

I got a basic jqGrid working in my coldfusion project. One of my fields in jqGrid is a combo box. Currently the editoption values are hard coded just like below. colModel : [ { name:'seqnum',index:'seqnum', width:100,resizable:true, align:"left",sorttype:"text",editable:true,edittype:"select",editoptions: { value:"1:one...

jqgrid ASP.NET MVC -- getting data right for the grid.

Here is my dilemma, I have not been able to manipulate my data to a form fitting to jqgrid standards. This is my first time using the jqgrid and I've spent a lot of time reading up on it. My js code is as follows: jQuery("#list").jqGrid({ url: '/Home/ListContacts/', dataType: "json", conten...

How to trace an unobtrusive onclick using Firebug

I'm working with the jqGrid 3.5 a lot as of recent, but I have noticed that when I add a checkbox input dynamically it can't be clicked (but it doesn't appear to be disabled). So I'm trying to search through the massive js dependencies that are part of the control but can't seem to find anything "not allowing" my checkbox to toggle. My...

Sorting jqGrid in ASP.NET MVC client view with jQuery and LINQ-to-Entities

I'm a jQuery noob, so I'm sure I'm missing something simple here. I've got the jqGrid working with an action that creates JSON data from a LINQ-to-Entities operation. But when I click on the column headers in the browser, the rows don't sort. The ascending/descending indicator shows up, but nothing else happens. The necessary JavaScrip...

jqGrid with an editable checkbox column

When using jqGrid how do you force a cell to load in its editable view on page load aswell as when it is clicked? If you set up 'cell editing' like below, the check box only appears when you click on the cell. { name: 'MyCol', index: 'MyCol', editable:true, edittype:'checkbox', editoptions: { value:"True:False" }, cellEdit:true, Al...