jqgrid

jqgrid userData posting null on refresh

I have a jqgrid and a form. When the grid is refreshed, I am attempting to send the values of the form to the server side handler. For testing, I'm using just one variable in the form. Firebug shows that jqgrid is passing the field name, but the value is always null regardless of what is selected. According the the jqgrid docs, I shou...

How to programmatically page to next/prev page in jqGrid

Is there a jqGrid method that will skip to the next/prev page of rows. I was trying to programmatically click the button itself with jQuery, but didn't succeed yet ...

Finding current page number in jqGrid

How can I find the current page number in jqGrid (using jQuery of course). Also how do I know how many pages are there in total. ...

jquery grid question

i want to add a picture in qjgrid field and i do like this: loadComplete: function() { var ids = jQuery("#list").getDataIDs(); for(var i=0;i<ids.length;i++) { var cl = ids[i]; var rowdata = jQuery("#list").getRowData(cl); var imgAddress=getPicAddress(rowdata.Status); p="<img alt='status' src='../images/Status/yellow.gif' />"; jQuer...

jqGrid: postData not being posted to controller action during in-line edit

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, when I'm making an in-line edit to a row. I'm using the postData attribute on jqGrid to do this: Javascript: $('#tblLines').jqGrid({ ... postData: {MyId : $('#MyId').val(...

jqGrid: Why aren't the events that I defined for a grid edit firing?

I'm doing in-line edits on a grid, but can't seem to get any events to fire that would be tied to that edit. Here I have afterSubmit: and I want it to fire after the user has edited the Quantity field in the grid, but it never fires. $('#tblLines').jqGrid({ url: createUrl('/CRA/GetLines/'), editurl: '/CRA/EditModifyLine...

onmouseover event in jqgrid

Hi all, do we have onmouseover event in jqgrid, that is when the mouse is over any row in the grid. I could not find it in the documentation, Also is it possible to add onmouserevent to a particular column in jqgrid. thanks in advance. masood ...

How do you add scripts to custom buttons on rows in jqgrid?

I am trying to handle the click of custom button in a jqgrid. I have the buttons showing up, but when they are clicked, my function does not run. If I click a button outside the jqgrid, the script runs. Does jqgrid consume the button click? Not sure what I am missing or not understanding. Here is the grid. The reason I am not reloading t...

JQGrid How do I removed the annoying horizontal scrollbar when autowidth = true? (In IE)

I seem to be getting an annoying horizontal scrollbar when using autowidth=true in IE What is going on here and how do I get rid of it? ...

jqgrid: Custom button calling saveRow with url parameter how to

I have a custom button that calls the saveRow function. I want to put a url specific to the click of the button, but the url parameter must not be right. Here is the code to my custom button: send = "<input name='send' class='tweetbuttons' id='tbuttonSend"+cl+ "' type='button' value='Send' "+ "onclick=jQuery('#list2').save...

jQgrid In-Line Edit:-How to set specific data type to a particular cell in jQgrid?

I am using In-Line Edit:I have created jQgrid in which only one cell is used in edit mode.I need to restrict cell editing with specific data type.eg. 2nd cell of first row should be string,2nd cell of second row should be Date,2nd cell of first row should be Integer etc... Can anybody help me to resolve this problem? ...

jQgrid In-Line Edit:-How to give specific edittype to particular jqgrid cell ?

I am using In-Line Edit:I want to give different edit type to each cell in the same column rather than giving only one edittype to whole column.1st row's 2nd column should have edit type as select,2nd row's 2nd column should have edit type as textarea etc.. ...

Change Style Of JQGrid

I am using JQGrid 3.5 . Can I change the style and look of the grid and make it beautiful more using jquery or custom css or something else? Please Help me. Thanks in advance. ...

Loading jqgrid from qury with multiple joins

I am trying to load a sortable jqgrid 3.5 from a query with multiple joins in it and having much difficulty as I am a novice with both Linq and jqgrid. In order to allow for sorting I first was attempting to load it using dynamic sql. Since I am pulling columns from multiple tables I assume my return will be a class object which I will p...

Asp.Net MVC routing diffrence in www.Mysite.com/Employee and www.Mysite.com/Employee/ while using JqGrid

I am using ASP.NEt MVC for one of my project. In this I have Employee controller which can be called by www.Mysite.com/Employee/ url. Also I have used JqGrid which uses followng to fetch data url: "GetGridData" While testing the same I found that If i type www.Mysite.com/Employee/ in browser a call is made to www.Mysite.co...

jqGrid: Is it possible to commit a cell change when tabbing off instead of pressing Enter?

I have a simple in-line edit in my grid, and I want to commit the change when the user tabs off the textbox. The default behavior of jqGrid forces the user to press 'Enter' to commit the change, but this is non-intuitive for our users. onSelectRow: function(id) { $(gridCoreGroups).editRow(id, true, undefined, function(res...

how to make editable grid cell readonly + jquery

HI Everyone, Now i am use jquery editable grid, i want to make some cell readonly on basis of some checking Is it possible??? if posible plz reply this question BR~ Nazmul ...

navGrid not working with JQGrid

I have a asp.net MVC app and I'm trying to get the jqgrid 3.5 to work in it. My grid does not use paging features but I want to use the page navigator bar for edit buttons. My grid within a jquery tab control on a content page. Displaying my data works fine in the grid but when I add the .navGrid() extension and options to it it breaks t...

jqGrid Error with Ruby on Rails

I'm following this guide, http://www.2dconcept.com/jquery-grid-rails-plugin, to setup a sample jQuery datagrid. Everything appears to be good, but when I go to http://127.0.0.1:3000/users, I get this: NoMethodError in Users#index Showing users/index.html.erb where line #12 raised: You have a nil object when you didn't expect it!...

Expandable Cells In Jquery JQGrid

Is it possible to format a column in JQGrid such that the cells only show the beginning of the contents, and the cell can be expanded on click? I have one column that needs to contain a list of items ( ~50 lines ) and it makes the grid far to large on initial load. I'd like to be able to expand the cell as needed. I'd like to do this w...