jqgrid

jqGrid Display Issue - Pixel shift on buttons in Pager

Let me explain the problem: Various pages of my web application contain jQuery UI tabs which display a jqGrid on one of their tab pages. Each of these jqGrids has several buttons (Add, Edit, etc) in its Navigation bar. The issue is that when the user hovers over one of the buttons, the text for each button in the navbar moves approximat...

jQuery get current click event for element and append to it

I'm using jqGrid and adding my own onclick event to each cell of data when the grid has completed rendering. jqGrid has default behavior of highlighting a row onclick. When I add my own onclick event after the grid renders, my event overwrites the jqGrid event as expected. I would like to preserve the jqGrid onclick event and just add...

jquery subgrid with json

I am working with jqgrid. i have need to implement subgrid of grid. my code is as follows: <div class="ww90p"> <!-- class="sheet"--> <div class="" > <table id="setcols" class="scroll"> </table> <div id="psetcols" class="scroll"></div> </div> </div> $("#setcols").jqGrid( $.extend( {}, jqGrid_normal, { url: "/account/c...

about json file direction ???

hi all, in jquery.subgrid.js --> for json request this term $.parse(JSON.responseText) showing undefined. what return JSON.responseText???? ...

is jquery subgrid plugin work for json?

hi all how are you? I am working with jquery subgrid its not working... note that in jqgrid 3.5 demo there is a qoute..... Note: Currently subgrid can work only with xml data. Json is in progress. so plz tell me that is it really work for the subgrid??? ...

jqGrid dynamic select option

I'm creating a jqgrid with drop down columns and I'm using cell editing. I need the options of the drop down columns to change dynamically and I've tried implementing this by setting the column to be: { name: "AccountLookup", index: "AccountLookup", width: 90, editable: true, resizable: true, edittype: "select", formatter: "select" }, ...

reload a loaded jqGrid with a different table data

I have a page that displays a table in two different modes. In each mode I have a different set of columns. I'm using jqGrid to display the table. When I try to load the table for the second time (with same or different columns for that matter) the table will not refresh the data. Is there a different API to reload data? Or should I use...

jquery treegrid problem

hi all, how are you? now i am working with jq treegrid? it work fine with xml but when i use json then error showing in jquery.base.js as init is not defined [Break on this error] init(ts); grid.base.js (line 1137) i can not overcome this. what is the problem?????? please any one can help me ...

Adding a button to a row in jqgrid

I want to add a button to each row in my grid that will bring up a new window. Do not see this feature in this very rich control. Must be missing something ...

Tempdata in ASP.Net MVC with JSON Request

Hi, I have an ActionResult that sets TempData to be an object. The page that is rendered contains a button, that launches a JSON request to the same controller. (For jqGrid population). The TempData on the JSON Request is null - why does this happen? Even more bizarrely, if I had a button that posts to the same controller, and I cli...

Jqgrid set cell background color

In "Custom data tooltips in jqGrid 3.4" discussion, came to know how to use setcell to change the color of the text inside a cell of jqgrid. How can we change the background color of the cell? Tried the following jQuery("#list").setCell (row,col,'',{ background-color:'red'}) jQuery("#list").setCell (row,col,'','',{ bgcolor:'red'} Tha...

Retrieving selected rows from jqGrid

I have jqGrid 3.5 (full) mostly working. I have it retrieving data with the multi-select option on. The one part I can not get to work is getting the selected rows. The docs state: To obtain selected rows we can use getGridParam('selarrrow') method. Using our example we can write this: jQuery("#grid_id").getGridParam('selar...

jqGrid unable to load xml data from server

I'm using jqGrid 3.5.2 and having issue with loading xml file from server side. BTW I have found a similar post arround, but didn't help much though. Here is my client Side code: $(”#list4″).jqGrid({ url:'http://localhost/cgi-bin2/test.pl', datatype: 'xml', mtype: 'GET', height: 400, colNames:['No','Date'], colModel:...

images and selectbox in jqgrid

hai i am very new to jquery and jqgrid.. i have implemented a grid...but i don't have any idea to display images in column from the corresponding database value...i tried a lot but failed ..can anybody help me.. regards ...

jQuery/jqGrid: populate select boxes with multiple values

Hello! I'm setting up a jqGrid which needs to visualize multiple values in one cell. The input comes from a form where the user can select multiple choices. I am able to display the select box, but not populate it. I have tried to insert an array in the JSON object, but to no success. This is the model: index:'ship', editoptions:{mult...

jqGrid loadin hanging problem

Hi all, I have problem with jqGrid. I am loading data from pagemethod, I have managed to serialize to json and display data, but jqGrid seems to hang on loading-I see 'loading...' title and rest of page is disabled, like jqGrid is in modal state...how to exit this state when I populate grid? thanx <<<<<<<<< solved..it was some nasty i...

jqGrid search filter questions

Have two questions. Make the search filter form non modal. Allow searching by pressing enter key instead of having to press the Find button. thanks. ...

jqGrid editRow posting to the server

I am using JqGrid to display some data, and want to enable editing for one column (InvoiceStatus). The issue is, it does not call the editurl server.php. Thanks. var lastSel; jQuery(document).ready(function(){ // Generates the Category Grid, and observes for events, and acts on them jQuery("#list987").jqGrid({ url:'php/sel...

ASP.NET MVC with jqGrid Form Editing - Controller Action for select options

Well, I'm falling for the jqGrid plugin for jQuery and trying to incorporate it in an ASP.NET MVC application. I have all the basic funcitonality working thanks to various blog posts from around the traps. What I am trying to workout now is how to return data from the Controller in such a fashion as to populate select options on the edi...

jqGrid loadonce doesn't work with asp.net

Hi all, Does anyone know how to solve this nasty issue with asp.net+asmx+jqGrid sorting. Because, in order to call pagemethods or asmx web services from jqGrid, it needs to be hacked like this: datatype: function() { $.ajax({ url: 'Default.aspx/GetPersons', data: "{}",...