Hello,
Thanks. This
Hello,
Thanks. Found the problem. The fix will be in the upcomming 3.8.
Regards
Tony
Hello,
This maybe depends on browser, but you should use autoencode grid option for this purpose.
Regards
Tony
Hello,
If you are in local mode it is just simple
var mydata = $(“#grid”).jqGrid('getGridParam','data');
will give you all your data.
Regards
Tony
Hello,
To the gridComplete we do not pass any parameter and this event is called after everthing is into the dom.
Please check Your code.
Regards
Hello,
This is not a valid JSON.
Please refer here:
http://www.trirand.com/jqgridw…..4_to_3.6.5
and here (The Important note):
http://api.jquery.com/jQuery.getJSON/
Regards
Tony
Hello,
When used this way in 3.7 you should configure your localReader in order to know which is the id
http://www.trirand.com/jqgridwiki/doku.php?id=wiki:retrieving_data#array_data
But the easy way is to set key:true in the idx column.
Regards
Tony
Hello,
Just look into the code. Cloning IMHO will not work.
It is better to get the grid parameters and create a new grid with diffrent id using the copied paramaters
var gridconfig
HEllo,
Try to attach to a table a id too – something like:
Oleg,
Just found a very simple solution. Will publish it tommorow.
Also the idea is to define not a index, but a sorttype as function.
Just tested and work ok.
{ name: 'Category', width: 200, formatter:'select',
sorttype: function(cell) {
Hello
beforeCheckValues : function(postdata, formid, opertype)
{
// dosomething with the postdata
//and return it
return postdata
}
Regards
Tony
P.S. You should define this event not as grid option, but in edit add form.
HEllo,
If your grid has id mygrid:
$(“#gbox_mygrid”).resizable('destroy');
Hello Oleg,
Thanks – this is a good recommendation, but it can not be realized currently.
The maydata in your case is stored into the grid as it is. Think of it as saved json request, which will be called with diffrent conditions.
If you perform sort we get the values from mydata and not the displayed one from the formatters.
Instead this is very usefull feature.
Best Regards
Tony
Hello,
Not sure, but this is not a jqGrid problem. Try to return false when a Enter key is pressed and search is performed.
Regards
Tony
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top