Hello,
When you post data to the server maybe you should send custom headers with iso-8859-1 encoding. See in jQuery docs how to do that – hint you can use beforeSend parameter in the ajax call.
Regards
Tony
P.S. Using CDATA is good idea, but do not forget to use the header function in PHP before sending the data to the grid.
Hello,
Not fully understand what you mean, but you can use the new formater in version 3.4 beta
Regards
Tony
Hello,
The beforeShowForm is called in the parameters for add or edit row. something like this:
jQuery(”#list2″).navGrid(”#pager2″,{edit:true,add:true,del:false,search:true},{reloadAfterSubmit:true,
beforeShowForm : function(formid) {
// your code here
}
}, // edit parameters
{reloadAfterSubmit:true}, // add parameters
{reloadAfterSubmit:true} // del parameters
);
Read the docs first.
Regards
Tony
Hello,
Download the examples to see how you can process. The examples can be downloaded from Demonstration menu of this site.
Regards
Tony
Hello,
Check the new 3.4 – this problem is avoided.
Regards
Tony
Hello,
Thank you very much for this. I know about this and that some things are changed in 1.3 of jQuery. I will publish second beta when the 1.3.1 is ready.
Regards
Tony
Hello,
Thank you. This problem is discussed before. I'm not 100% sure, but boolean values are represented as “false” or “true”. For more info refer to json.org
Regards
Tony
Hello,
I will publish beta 2 when Query 1.3.1 is ready
Tony
Hello,
You can use getGridParam('selarrrow') to get selected rows when in multiselect mode and use onPaging event (which is raised before populate) to store the selected rows
Regards
Tony
Hello,
Sorry – but I will write this for last. The getRowData is NOT COMPATIBLE with the currently edited fields. There are a lot of other possible solutions for this purpose. How do you call saveCell?
Use beforeEditCell to store the iCol and iRow values and then perform saveCell with these parameters. See docs
Regards
Tony
Hello,
The most common problem here that you should understand is this: (if I understand right)
$(item).trigger('reloadGrid');
After this you should call the expression
$(item).find('tr#'+$(row).attr('id')).addClass('selected');
WITH DELAY.
Use setTimeout for this purpose.
Regards
Tony
P.S. I suggest you to use setSelection for the experssion in blue.
or if this is not possible you should call setGridParam({selrow:'the_id_here'}) after the expression
Hello,
It depends on how you call the method. Do you have set a top and left property?
Remember the position of the modal is fixed – so if you have scrolling page it will be quite possible that this window will appear above and below the grid.
Regards
Tony
Hello,
Use edittype:textarea when you edit the field.
Regards
Tony
Hello,
There is a problem in IE6/IE7 where the cellIndex of the hidden coumns is not calculated right. There are some solutions, but I will try to implement the right one wich will work in jqGrid.
Regards
Tony
Hello,
As of the docs:
extraparam: an array of type name: value. When set these values are posted along with the other values to the server.
Regards
Tony
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top