Hi Tony!
You are right, the version seems work without any problem, but I made the test with another javascript which use filterToolbar function. A working version you can find here http://www.ok-soft-gmbh.com/jqGrid/CustomFilter.htm. It is an answer on the question http://stackoverflow.com/questions/3311929/is-there-a-way-to-programatically-set-a-filter-in-jquery-jqgrid. The same javascript which use 3.8 and index as function have at the beginning the problem in the line 736 of grid.custom.js:
Hello Tony!
Probably you mean sorttype as function (index as function not work starting with 3.7.2, but one way with sorttype is enough). It works perfect! The second parameter can be very usefull.
If I'll find some problems later I'll post there in the forum.
Thank you!
Oleg
You can use following code
var cm = jQuery(“#list1″).jqGrid(“getGridParam”, “colModel”);
var colName = cm[iCol];
to get the column name colName
Hi Ricardo!
How you already knows from http://stackoverflow.com/questions/3416572/jqgrid-set-the-custom-value-of-edittype-custom/3416853#3416853
you should define in the description of the editoptions the function dataInit with the code like following
It seems that editurl equal to 'clientArray' is suported by inline editing and cell editing but not by form editing. In case of form editing you probably should use a dummy ajax url like you do this. An example you can find on the demo pagetrirand.com/blog/jqgrid/jqgrid.html
You should use editurl equal to 'clientArray'.
No I mean what I wrote. The function
OK here is an example:
jQuery('#list').jqGrid({
You should better generate JSON data whic more corresponds to the standard jsonReader.
Look at my old answer in stackoverflow: http://stackoverflow.com/questions/2705719/jqgrid-trigger-loading-overlay/2706447#2706447.
Sorry, but I don't understand this requirement. jqGrid use CSS classes from jQuery UI. You need include only jQuery CSS with images sub directory but including of any javascript files are not required.
If jqGrid would be use other CSS names you had in the same way overwrite the class definition during costomization.
A large advantage of using CSS from jQuery UI in the Theme Roller. On the page http://jqueryui.com/themeroller/ you can easy customize CSS in a interactive mode and download the results. The CSS you can use for jqGrid.
So I see really no sense to use other CSS class names as jQuery UI use. Do use have name conflicts in CSS classes names which you use and which jQuery UI use?
Regards
Oleg
First of all you have declare 'account_number' as a column name and you data has “account”: “24811″. You should make the same name of the filed names.
To make the program working is to produce JSON data in a little format which corresponds the standard jsonReader (see http://www.trirand.com/jqgridw…..#json_data for details) where the data for every row has NO name prefix and position corresponds to the column position
{
The usage of recordpos: 'left' overwrite the icons from the navigation bar. I recomend you hold just remove this option.
Moreover you should remove comma after the caption: 'LOCATION'.
Best regards
Oleg
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top