jqgrid

jqGrid hiding Plus icon

Hi I am using jqGrid with subGrid. But at some row i do not want to show the Plus icon. Because i do not want to allow user to view the subgrid on that perticular row. So can any body help me how to hide the plus icon over there. I tried with the below code but no luck. afterInsertRow : function(rowid, rowdata, rowelem) { $("tr[id="+r...

Fill jqgrid with data from visualforce page

I have a visualforce page and I am using jqgrid to display data on this page. The url that the jqgrid points to is a visualforce page(https://test.visual.force.com/apex/GridResults) which outputs only JSON data. This page does not have any header or html information. The problem is that when I run this page, the grid renders with colum...

JQGrid Value and Text Column

Hi, I have a column that I want to display as a Text(e.g CityName) on read/display mode. When the user clicks edit, I want it to be displayed as a Select, i would then pass the CityID so that I can display the Select Control with options==CityID as selected. Does jqGrid have this functionality out of the box or do I have to implement ...

jqGrid and POST verb

Hello, I've used jqGrid for long time now, without any kind of problem. Today I've tried to implement it in ASP.NET MVC 2 project and things didn't work as expected. After a little struggle I've realized that now controllers do not accept GET calls when returning JSON data. It is for security reasons. If I force my controller to support...

How to get rid of "undefined" text when jqGrid is initially loaded

I have a jqGrid on a page and whenever I load the page the jqGrid at first shows "undefined" and then loads the data about a half a second later(Depending on network latency). My question is how do I get this to say something like "loading" or something other than "undefined"? I notice the jqGrid examples don't have this problem and do s...

JQGrid Dynamic Select Data

Hi, I have utilised the example code at Example Code at this link and I have got my grid to show a dynamically constructed select dropdown on add and edit. However when it is just showing the data in the grid it shows the dropdown index instead of its associated data. Is there a way to get the grid to show the data associated with t...

Drag from JQGrid to jsTree v.0.9.9a

Hi, I'm looking to drag a row from the JQGrid i've created and fire a drop event on a node in the jsTree (v.0.9.9a). Is there anyway to do this - using v.0.9.9a of the jsTree only. Regards. ...

How to integrate jqGrid with tooltip

Hi, I'm running to a problem to intergrate jqGrid with tooltip. I want to show some dynamic info based on the row id. I did try this, but it didn't work http://www.trirand.com/blog/?page_id=393/help/tooltip-on-row-hover-with-ajax-content-solution/ I wannt when the mouseover and show tooltip, and the content of the tooltip is from ajax...

jqGrid getData only returns data for current page

Hi, Hopefully this is a quick one! I have an editable grid using 'clientSide' (local) data and I now wish to iterate all the rows in javascript and process/package the data myself before sending it to the server via a jQuery.ajax call. The problem is that, unexpectedly (for me at least), using the following code only retrieves the rows...

Problem with JQGrid Array Data - clientSide

I'm using Google Maps' local search, to find businesses in the area of an specific address. The results will be intercepted and should be displayed in a JQGrid table. I would like to use JQGrid's "Array Data" to insert the results locally into the Grid. At this time I have the following code: <script type="text/javascript"> ...

Updatepanel and jqgrid

can update panel and jqgrid work together? i am using jqgrid and i want to control page refreshing. so i added update panel but its not working. ...

Setting JqGrid's colName and colModel from JSON data

I am trying to generate the list of column names and the column model on the server and feed it to JqGrid. I have successfully generated the JSON and passed it to the client over XHR, no complaints there. But, the grid itself doesn't show up. I see one column of the grid with the grid's fold/unfold button at the top. Here is the javascr...

How do I prevent jqGrid from restoring the row after saving.

Hi, I have a jqGrid in inline editing mode. When the user hits Enter, the record is sent to the server to save. The server returns a success:true or false which I handle in successFunc as follows: function successFunc(data) { d = jQuery.parseJSON(data.responseText); if (!d.success) { alert(d.message); } return d.success; } What...

is there a way to programatically set a filter in jquery jqgrid?

i have a page with a jqgrid on it with filter row at the top. I want to have a link on another page that loads this grid page but with a filter set on one of the columns. is that possible to do from a link or any other workaround people can suggest? ...

Is there a way to customize search rules in jqGrid in particular column?

Hi! I have jqgrid : jQuery("#list").jqGrid( { url : 'ajax/get', datatype : 'json', mtype : 'POST', colNames : [ 'Date', 'ID' ], colModel : [{ name : 'date', index : 'date', ...

jqGrid: Large grid within a scrollable container

I have a large grid (about 30 columns and 100 rows) which is placed within a surrounding div that allows the user to scroll vertically and horizontally. I opted for this solution as I could not get the grid to scroll correctly out of the box. The grid uses cell editing, and is purely client side except when loaded from or persisted to t...

strip html from json to jqgrid in rails app

Hi, In my rails app, I am setting up my own admin with the help of http://github.com/linoj/gridify. That works really well with one exception: HTML gets rendered in the table view which blows the cells up like crazy. I use white-space:nowrap; in my css which helps against other formatting trouble. I still need to either get rid of...

Guidance on a better way to retain filtering options when using ASP.NET MVC 2

I have an ASP.NET MVC 2 application which in part allows a user to filter data and view that data in a JQGrid. Currently this consists of a controller which initialises my filter model and configures how I wish my grid to be displayed. This information is used by a view and a partial view to display the filter and the grid shell. I us...

JQgrid With Jsonp

Hi Guys, Does any one use JQGrid with JSONP. My Json in from seperate webapp and hence i am consuming using $.get with datatype JSONP. I browsed through the JQgrid samples and documentation and there is no JSONP sample. I replaced the url:'http://services.xxx.com/xxxx/json',datatype: "jsonp" , On the document ready the jsonp request h...

jqGrid with Custom sorttype

I am using jqGrid 3.7.2 with local data. For some columns the default sorttypes are not sufficient. I need to provide a custom sorttype, which I understand from the documentation is possible. I don't know how to get it to work though. The code below is my best attempt at getting it to work - I can't make it call the custom sorting functi...