Solutions
Based on our experience we have created a set of components which dramatically decrease the development time of web applications using jqGrid.
For more information visit us at: trirand.net
Based on our experience we have created a set of components which dramatically decrease the development time of web applications using jqGrid.
For more information visit us at: trirand.net
| Privacy Policy Terms and Conditions Contact Information |
I a using the jqgrid plugin and am getting an error message while rendering it on IE.The grid works fine in FF.The error that i am getting is in IE8 it says “Object Expected” where as in IE7 the error is “Unexpected call to method or property access”.When i am using Developer tool in IE8 to get to the line where the proble exists the developer tool gives a message that code of line cannot be reached.I am helpless .Please help me its urgent.
Can you give more information? At the least, you could trace output see see how far your code is getting.
Thanks for the quick reply.I am new to web development.How can i trace the output?Is there any tool for IE to do the same?I tried putting alerts in the add/edits of jquery methods of beforeInitData.I got my alert and after that i get this error message.Also i had put another one in onInitializeForm i did not get the alert.Please tell me how to solve the problem.thanks a lot in advance.
How to implement Data autoloading when scrolling with out using dll,
I wounder how to get rows value as url by contextmenu or rightclick using javascript in a grid
this is my project:
jQuery(document).ready(function () {
jQuery(“#list”).jqGrid({
url: ‘../../Home/Example/123′,
datatype: ‘json’,
myType: ‘GET’,
colNames: ['Id', 'Name', 'Description'],
colModel: [
{ name: 'id', index: 'id', width: 55, resizable: true },
{ name: 'name', index: 'name', width: 90, resizable: true },
{ name: 'description', index: 'description', width: 120, resizable: true}],
pager: $(‘#pager’),
rowNum: 10,
rowList: [10, 20, 30],
sortname: ‘id’,
sortorder: ‘desc’,
viewrecords: true,
multiselect: true,
multikey: “ctrlKey”,
imgpath: ‘../Scripts/themes/redmond/images’,
caption: ‘My first grid’
});
//this is what i was trying to do to get row value
$(“#mycontextmenu”).val( ‘|id: ‘ + menu_id + ‘|name: ‘ + menu_name + ‘|description: ‘ + menu_description );
$(“#list”).contextMenu(“#mycontextmenu”)
});
//HomeController
public ActionResult example(int id, string sidx, string sord, int page, int rows)
{
var result = new
{
total = 1,
page = page,
records = 3,
rows = new[]
{
new{id = 11, cell = new[]{“11″,”Blue”,”I’ll be blue if this doesnt work”}},
new{id = 12, cell = new[]{“12″,”Blue”,”I’ll be blue if this doesnt work”}},
new{id = 13, cell = new[]{“13″,”Blue”,”I’ll be blue if this doesnt work”}}
}
};
return Json(result, JsonRequestBehavior.AllowGet);
}
//master site
<script type="text/javascript" src="”>
<script type="text/javascript" src="”>
<%–<script type="text/javascript" src="”>
<script type="text/javascript" src="”>–%>
<%–<script type="text/javascript" src="”>–%>
<%—-%>
Can you please help me with my question, I wounder how to get rows value as url by contextmenu or rightclick using javascript in a grid,
this is my project:
jQuery(document).ready(function () {
jQuery(”#list”).jqGrid({
url: ‘../../Home/Example/123′,
datatype: ‘json’,
myType: ‘GET’,
colNames: ['Id', 'Name', 'Description'],
colModel: [
{ name: 'id', index: 'id', width: 55, resizable: true },
{ name: 'name', index: 'name', width: 90, resizable: true },
{ name: 'description', index: 'description', width: 120, resizable: true}],
pager: $(’#pager’),
rowNum: 10,
rowList: [10, 20, 30],
sortname: ‘id’,
sortorder: ‘desc’,
viewrecords: true,
multiselect: true,
multikey: “ctrlKey”,
imgpath: ‘../Scripts/themes/redmond/images’,
caption: ‘My first grid’
});
//this is what i was trying to do to get row value
$(”#mycontextmenu”).val( ‘|id: ‘ + menu_id + ‘|name: ‘ + menu_name + ‘|description: ‘ + menu_description );
$(”#list”).contextMenu(”#mycontextmenu”)
});
//HomeController
public ActionResult example(int id, string sidx, string sord, int page, int rows)
{
var result = new
{
total = 1,
page = page,
records = 3,
rows = new[]
{
new{id = 11, cell = new[]{”11″,”Blue”,”I’ll be blue if this doesnt work”}},
new{id = 12, cell = new[]{”12″,”Blue”,”I’ll be blue if this doesnt work”}},
new{id = 13, cell = new[]{”13″,”Blue”,”I’ll be blue if this doesnt work”}}
}
};
return Json(result, JsonRequestBehavior.AllowGet);
}
//master site
<%–
–%>
<%––%>
http://code.google.com/p/struts2-jquery/wiki/GridTag, see the Web site when I tried to create a sample page, a unique phenomenon occurs. struts2 + jqgrid Is a Tomcat Project will be impossible? If you try to request as a file is downloaded.
I have a question, Can JqGrid be front page and sort ?
I using the jqgrid on IE7, I get an error .It says “Unexpected call to method or property access”. but on ff it work well. Please help me its urgent. thanks.
{“page”:1,”total”:8,”records”:”77″,”rows”:[{"id":"3984106","cell":["3984106","ALBERTO","ARIZA PACHECO"]},{“id”:”27958294″,”cell”:["27958294","ALIX","MANCILLA AVILA"]},{“id”:”5562663″,”cell”:["5562663","ALONSO","JEREZ GUTIERREZ"]},{“id”:”63542928″,”cell”:["63542928","ANA MILENA","BOHORQUEZ"]},{“id”:”88249453″,”cell”:["88249453","ANDUER ALEXIS","PEREZ MOGOLLON"]},{“id”:”5543551″,”cell”:["5543551","ANIBAL","NAVAS DELGADO"]},{“id”:”5741991″,”cell”:["5741991","AQUILO","HERNANDEZ ALMEIDA"]},{“id”:”91068112″,”cell”:["91068112","ARMANDO","MONSALVE PINTO"]},{“id”:”804012392″,”cell”:["804012392","C.I ALJAHER","LTDA"]},{“id”:”91213464″,”cell”:["91213464","CARLOS ","TGOMEZ CAMACHO"]}]}
hi,
i am new to jqgrid,
please can any one provide tutorials on jqgrid with jsp?
Hi all,
In JQGRID top Toolbar, want to add the check boxes. these checkboxes are display from static array.. its used for search.. help me..
i did,
toolbar: [true,"top"];
thanks,
vijay.
When I download jqgrid 3.7.2 I haven’t got the themes and images folder
Where can I get the themes and images og jqgrid 3.7.2
Does jqgrid support having multiple column data in one column? e.g Having Name & email in the same column to save space
jQuery Version: 1.4.2
Used plugin: – jqGrid 3.7.2.
Problem: If I click on the “reload grid” button the ajax request becomes the status “Aborted”. Firebug shows me the error line 5252 in jquery.js.
Funny thing: – The Firefox 3.6.8 on my Linux machine (with the local web server running) don’t has this behavior if I click the “reload grid” button. It runs all fine. – The Firefox 3.6.8 on my Windows machine (connected over ethernet with the linux machine) has this problem by click the button! The ajax request starts but finishes with an “Abort”.
My test:
- Remove only the line 5217 “xhr.abort();” in jquery.js
This “solves” the problem:
- On the Windows machine the problem disappears!
This is only a temporary solution for me.
How is that possible? Same web server, same script, same ajax request. Only different OSs!