jqgrid

JQGrid within a dialog

How will you display a JQGrid within a dialog? ...

alternate background row in jqgrid

how can i add alternate background row in jqgrid? ...

How to programically select top row of JQGrid?

How does one programically select the top row of a JQGrid. I want to have the top row already selected when it is opened on the page. My grid is sorted by a descriptive column so the first row's id could be any number. I know the method to use I just don't know how to get the rowid for the top (first) row. The method is: jQuery("#mygri...

Retrieving original row data from jqGrid

It is possible to use the getRowData method to retrieve the current of a cell but this retrieves the current cell content rather than the original data before it went through the formatter. How do I retrieve the original content before the formatting transformations are applied? FYI I am populating the table using JSON. ...

Is it possible to group jqGrid column?

I need to group three columns header to one column in jqGrid, Is it possible? Thank ...

Custom data tooltip in jqGrid

I am working on jqGrid 3.4.4. I have implemented the custom data tooltip. It is working fine in Firefox but it is not working consistemtly in SAFARI.Sometimes it is working and sometimes not. Any idea? Thanks, Anup ...

jqgrid custom row colors

How can I set the background-color of an entire row (not just cell) using the custom formatter? ...

JQGrid: Pager in inline add form

Hi guyz, I'm trying to add next/prev buttons in the default add in form of a jqgrid. Do you have any idea or example to help me? I could add my own buttons, but I'd like to call the same function as framework to navigate... Thanks in advance. Cyril ...

jquery jqgrid unformatter for SEARCH filter

I have this column in my grid called TIME which displays LOCAL time in the format yyyy-mm-dd hh:mm:ss AM/Pm format. This is done by the formatter function. In the database it is stored in the UTC format. So obviously i need a conversion BACK. It seems the unformat option doesnt work for the search filter. any idea on how to make my conve...

HOw to show the tooltip for an image in the jqGrid?

HOw to show the tooltip for an image in the jqGrid? ...

Sort Date Column in jqgrid

I am using ASP.NET MVC with JQGrid. The issue now is, how can I sort the date column in the JQGrid? Any ideas? ...

jqgrid add / delete / modify button call a html page

Hello! i work with jqgrid for listings only also i don't use jqgrid forms i need to call external forms (example: update.cgi?id=123) to make modifications on the database. how can i make that ? thanks a lot ...

How to post jqGrid data along with other form values

I have an HTML form containing some textboxes and two jqGrids. The user selects items from the first grid, and that moves them into the second grid. I want to submit the data from the textboxes, as well as the selected items (ie those in the second grid) as part of a FormCollection object back to my Controller. What would be the best way...

How to suppress jqgrid from initially loading data?

I have a jqgrid in a modal popup that has data dependent on some input. I am doing this by setting the url option of the grid based on the input like below then showing the popup: $(ContainerGrid.Grid).setGridParam({ url: urlGetContainers + '?CRALineId=' + currentCRALineId }).reloadGrid(); When the grid is first loaded on the scre...

Jqgrid, call URL with parameters for Json return

Hi, i have the following code on my aspx page: jQuery("#listFondos").jqGrid({ url: '/PorMyController/LoadGridData/', datatype: 'json', mtype: 'GET', colNames: ['col1', 'col2',...etc Everything is working fine, but i'm wondering if is it possible to call the URL method sending some parameters. I know that by default, wh...

ASP.NET MVC + jqGrid

Hello, I am using jQgrid with ASP.NET MVC. I am having a couple of problems. I would like to draw the grid when the DOM is created, but I would like to load the data after, when I select a TAB in a tab page. I can’t find any example for that. Is there anyone who tried that? I am using an custom navigation bar: (”#AttachmentsGrid”).navG...

controlled saving in jqgrid cell editing

that's about it Basically what I want to do is control the cell submission with a button or any other control. Has anyone done this? Here's some code to help: $('#users').jqGrid({ url : base_url + 'administrator/ajaxuser', datatype : 'json', mtype : 'GET', colNames : ['ID', 'E-mail' , 'First Name', 'Last Name'...

Passing selected row IDs from jqGrid to ASP.Net MVC Controller Action

I have cascading jqGrids (State, then City, then Zipcode) on a View with multirow on. I can select one or more of the ID values for the zip code by grabbing data using the following: var s; s = jQuery("#zipList").jqGrid('getGridParam', 'selarrrow'); "s" ends up containing something that looks like "23,119,5932,44". I am trying to pass...

jqgrid catch server error when deleting row/s

got this code: $('#hotels').jqGrid({ url : base_url + 'administrator/ajaxhotel', datatype : 'json', mtype : 'GET', colNames : ['Hotel ID' , 'Hotel Name', 'Hotel Location','Type', 'Status', 'Active', 'Date Added'], colModel : [ {name: 'id', index: 'id'}, {name: 'name', index : 'name', edi...

can you have images or any custom HTML displayed in jquery grid (jqgrid) cells?

i dont see anything in the documentation but i am trying to convert over code that is rendered in an html table over to jquery grid but the one missing piece is that many of the columns have images in them or other specialized html that i would like to show in the grid ...