I'm trying to use only one Pager, the same functions, for 2 Grids, but it's not working like I wish it would...
I set the element ID at the pager JqGrid property, but it's not working properly...
How can I fix this problem?
...
Hello.. I have a jsp page where in i am using jqgrid.. I want to get the json object from spring controller....
$("#task-list-table").empty().jqGrid({
autowidth: true,
datatype : "json",
url: "login.html",
colNames : ["Title","Order ID","Realty","Building",
"Priority","Action","Assignee"],
colModel :...
Hi there,
Got jqGrid up and running nicely where I've got a hidden field that contains some markup, just a table of data, and when I hover over a grid row the markup for the hidden column in that row appears in a tooltip. I want to be able to duplicate grid items and in doing so I want to clear the grid and repopulate with only the dupl...
Environment: ASP.NET 3.5, MVC 2 Web App, in the View file Index.aspx
I have the following jqGrid (excerpt of code):
$("#list").jqGrid({
url: '<%= Url.Action("GridData") %>',
datatype: 'json',
This is in an inline JS function called populateGrid. I need to move this function out of the View and into its own JS. In ...
I have a grid with 2 editable cells, and can get the value of the current cell with:
var editedValue = this.value;
But how do I get the value of the other cell? Currently I'm using the very ugly:
var otherValue = this.parentNode.nextSibling.firstChild.value;
But this is not safe (and has cross browser issues).
http://www.trirand....
I'm having an annoying problem with jqGrid: Instead of scrolling the lines, it just keeps adding them one bellow the other and doesn't stop at a certain height. What am I doing wrong? :S
<head>
<link rel="stylesheet" type="text/css" media="screen" href="libraries/jquery/custom-theme/jquery-ui.custom.css" />
<link rel="stylesheet" type="...
I'm trying to use form editing on jqgrid. When the data is changed, data is sent to the web server an automatically. I don't won't to send edited data to server. Just edit data on html tag value? Any idea? Can you guys put some working example?
Thank you for every advise?
...
Hello... I have a jqgrid where in I am returning a list of objects from the controller... I have used the List collection interface of java.util package.... and returning that...
@RequestMapping("task-management.html")
public @ResponseBody List<TaskBean> getStatus()
{
System.out.println("\nin task mgmt controller");
taskList.ad...
How are you able to get theader on a jqgrid using JQuery.
...
I've a jqGrid v3.7.2, after hiding a column using
.jqGrid('hideCol', infoName);
and setting the grid width using
.setGridWidth(setWidth, true)
The columns do not expand to fill the table width in IE8 only.
The table width is correct. The tbody/col widths comes short.
Any way to solve this problem via CSS? Or is there another meho...
I'm trying to use jqGrid's (3.7.2) toolbar filters, but some of my cells contain HTML that interferes with the filtering. My idea was to virtually strip the HTML just before comparing it to the search query, but I couldn't find where the comparing actually happens.
Does anyone know how to do such thing? Any better ideas?
Thanks!
tableT...
in my site , i have a jqgrid table.
by default, the names of the columns (header) is longer than the width for column, because that i set the name with an ellipsis.
however, when resizing the column, the short name with ellipsis stays.
how can i get it work automatic ,
like the ellipsis should disappear and change to the full name wh...
I'm using jqGrid 3.7.2 and I'm rendering a treegrid. The grid renders just fine however I have 2 major issues.
loadonce=true doesn't seem to be working. When I expand a node, it tries to load the data from the server even though I've already supplied all the data to the grid. And that leads to my second issues...
I can't collapse no...
Hello everybody,
I would like to know if it's possible to remove the header part of a jqgrid (part with the title of the grid and the expand/collapse button).
Not the column header but the whole Grid header.
Thanks for your answers.
Bertrand
...
I have a list of products on my site. I draw it with jqGrid. Also I have a form, to create new product, or update existing one. Is there any way to set in jqGrid, that when I press 'edit' button in grid, it redirects me to page like
'mysite/product/edit/id/{id}'
Here is my grid script:
$(document).ready(function() {
$("#list"...
I have set up jqGrid with JSON in my .Net MVC project. The grid is rending, but the data is not appearing. I am not sure what the problem is. Any help would be very much appreciated.
I have the code below in my controller. jsonData does get filled and passed to my Index. While stepping through the code I can see that jsonData has 1...
Hi,
I have a Jqgrid with subgrid enabled in my MVC 2 project. Subgrid expands and populates data on the button click. I want to expand and show the subgrid data on page load. So i called exapandSubGridRow method on gridComplete event of the parent grid. Now the problem is, subgrid row is expanded on pageload, but with no data, an empty ...
I am facing problem with pagination in jqgrid with array data having 18 records, but the records are not displaying in pages even I specified pagination:true,pager:jQuery('#pager1'). Can you please help me to implement pagination instead of scrolling.
<script type="text/javascript">
jQuery("#list4").jqGrid({
datatype: "clientSide",
h...
I need help display data in the jqGrid footer row. This is my configuration on the Server. Notice the userdata = (Hours) line.
// Format the data for the jqGrid
var jsonData = new
{
total = totalPages,
page = page,
records = totalRecords,
...
Hi
I would like to loop through a jqGrid so that I can get the value of cell for futher logical processing.
var ids = $("#list").getGridParam("reccount")
alert(ids);
var v = 1;
for(var i = 0; i < ids ; i++){
amountvalue = $("#list").getCell(v,"amount");
alert(amountvalue);
v = v + 1;
}
Strangely as obvious as ...