jqgrid

duplicated navbar buttons on jqGrid.

Hi, I'm having a problem refreshing my grid, because I add some extra buttons after I load my grid, but when I try to reload another button is added. $j(document).ready(function (){ $j("#search").button().click(function() { var loadingImg = "../img/bpm_scripts/common/images/images"; var ejecutive=$j("#ejecutiveId...

Can't figure out how to use JqGrid correctly with Asp.net MVC and Linq to Sql

I seem to be having issues with getting my jqgrids working well with linq to sql in my asp.net mvc project. The issue I am having is correctly using the sidx and sord parameters. Most resources I find say to do something like var questions = context.Questions .OrderBy(sidx + " " + sord) .Skip(pageIndex * pageSize) .Take(pageSi...

jqgrid : is it possible to insert a section-roll-up bar every 'n' records?

With the jqGrid is it possible to insert a section bar every 'n' records where clicking on the section-bar would toggle section expand/collapse? I am looking for a way to control the displayed height of the grid when I have set its height=100%. Here is pseudo-html showing such a section-bar inserted every 5 rows. The last section has o...

how to add checkbox in the jqgrid filter search tool bar?

In the jqgrid filter toolbar textbox search is working perfectly.. i want to include the checkboxes instead of textbox for search. how to create? plz explain me.. thanks in advance.. ...

jqGrid using radio buttons for editable rows

Hello all, I'm currently using jqGrid and ASP.Net MVC. With my current project, my goal is to provide a grid of data to the end user, and they can then edit this. The data is machine-generated, and the users will be confirming if the machine is correct or not. I think ideally for speed, I'd like to provide a row per item, with a radio...

jqGrid-subgrid is not showing up...

'm creating 2nd level subgrid. followed the example (Sub Grid (2 nested levels)). [jqgrid]http://www.trirand.net/demoaspnet.aspx when parent grid's row(+) symbol is clicked, It just shows one more empty row below It without column names, So I think, Its not even loading the subgrid on client. any ideas plz? > ***aspx page:******* ...

what is the best way to do server side asp.net mvc filtering of jqgrid

I have an action that is tied to jqgrid filtering. right now i have something like this. public ActionResult GridData(GridData args) { IEnumerable<Car> car = model.GetCars(); // now i need to filter and return a Json object. } In my case i have a collection or car objects. Is there best practi...

How to print jqGrid (using jqPrint ?)

Hello, I'm quite new to the jQuery world and I got a requirement which is "Print a web page which contains some data and a jqGrid table" I found the jqPrint plugin which is "almost" what I was looking for. My problem is when I click on my print link, just the visible part of my jqGrid is printed, not every rows. I've seen in some post...

Does jqgrid support row height so i can get multi lines showing in one row

I have a few columns that are very long and i want to show all of the content so i want to setup jqgrid to have the height of each row able to show multiple lines of text in one cell which word wraps is this possible ...

jqGrid shows only one record when pager is set in options

In gridOptions I have pager : '#gridpager', and a corresponding div in html. But after building a table from json data, I only get one row. If the pager option is removed, I get to see all rows... ...

How to disable autoload in jqGrid?

Hi! How to disable autoload in jqGrid and load data manually when I need it? Thanks. ...

jqgrid hide custom button

Hi, I'm having problems hiding a custom button on a grid and cant figure out the reason, maybe sb has done that... I add the button with .jqGrid('navButtonAdd',"#pager2", { caption:'Hist', buttonicon:"ui-icon-calendar", onClickButton: function() { //do sth here }, id:"#hist_list2", position:"last", ...

jqGrid 3.7.2 does it contain the hoverrows feature?

Although I have set hoverrows: false, a tooltip is being displayed when the mouse hovers over any grid cell in version 3.7.2. I found this link from December 2009: http://www.trirand.com/blog/?page_id=393/help/supress-jqgrid-onmouseoverhover-code which mentions the feature being available "in the final release". Version 3.7.2 dates f...

dividing jqgrid dialog (form edit dialog) into two layouts

I have jqgrid that has 23 headers. It has edit dialog with a form too. The problem is from 23 headers, 2 headers are non-editable and the remaining is editable. When I click edit, it will show a long form (with one column) with 21 rows. Can I change the layout to a form with two columns and every column has half of my total rows? ...

JQGrid loading disables(grays out) JQuery UI tab

Hi, Hi I am currently using JQGrid inside a JQuery UI Tab. My problem is that when I call the render JQGrid it disables(Grayed out with diagonal stripes). <script type="text/javascript"> $(document).ready(function () { $("#divTimePeriod").tabs(); jQuery("#listTimePeriod").jqGrid({ url: '/TimePeriod/GetT...

jqGrid get all ids

I've noticed a small bug with jqgrid that if you have virtual scrolling set to 1 and try and try to select all rows it doesn't actually select them all meaning when you call $("#file-grid").jqGrid('getGridParam','selarrrow'); to get all selected row data it doesn't actually get all the data. I was wondering if there was a method to g...

jqGrid: new data property in 3.7 -- is there a setData method?

My app populates a jqGrid, over and over again, with the results of many different queries the user may make; the queries take the form: give me title, documentCategory, hits, documentType for all documents where the document contains the word 'x'. The user may make many such (ajax) queries, one after the other: Issue query. Read the lis...

asp.net + jqGrid + UpdatePanel

My updatepanel consists of two jqgrids,one buttonand one label. In button click, I'm binding grid to the datasource and setting label.text = "testing" label text shows up fine but jqgrid is not displayed at all. How jqgrid works in updatepanel? am I missing something? ...

How to set position of toolbar in jqGrid?

Hello! I need to set the position of search toolbar to top in jqGrid. How can I do it? Thanks. ...

jqGrid Cell Editing - Double Click to Edit?

By default, if a jqGrid cell is editable, single click on that cell changes it to edit mode. Is there any way I can make it edit on a double click instead? It would make it easier to do row-level operations such as deleting, as all the columns in my grid are editable. ...