Hello,
You can use the toolbar option and define your custom buttons. Check the example page.
Regards
Tony
Hello,
If your PHP code construct the grid you can easy do that. You can make you own ajax call to get the names and model from server and after that to construct the grid. If you try to update the existing grid you can do grid unload method and then repeat the procedure descriped above. As alternative you can use the new grid import features – check 3.4 beta
Regards
Tony
Hello,
It is not jqGrid problem. Also you need to check the media property of the jqGrid CSS.
Regards
Tony
Hello,
It is definitley a bug. Thank you. Fixed.
Regards
Tony
Hello,
You should upgrade to jqGrid 3.4 beta in order to work with jQuery 1.3.1
Hello,
Thanks – it is really a bug. I fixed this. Also in the code I make comparations only for datatype local and not for clientSide.
Also to correct quick a bug here is the code:
Hello,
Maybe it is a good idea to learn how to get values from JS object. Sorry if this make you something wrong, but expression of type:
rowdata:x_parent_objid does not exists at all in JS – you should do something like this:
note the . and not :
if ( parseInt(rowdata.x_parent_objid) > 0 && rowdata.x_parent_type !== 'children') {
// do something here
}
Hello,
You should not copy paste the code from here, but understand what I try to expalin.
Here is a working example tested on my demo:
$("#mygrid").jqGrid({
...,
afterInsertRow : function(rowid,rowdata,rowelem) {
$("#"+rowid+" td:eq(0)").empty().unbind("click");
},
...
});
Hope this helps
Regards
Tony
Hello,
Yes you missed this feature. The feature is named formatter, available in jqGrid 3.4 beta. Check the readme how to use.
Regards
Tony
Hello,
Maybe you need to use a styleswitch plugin – In my demo I use
those from Kelvin Luck ( http://www.kelvinluck.com/ )
Regards
Tony
Hello,
In grid.inlinedit.js find
Hello,
Thanks for the code. Could you please send me the code to: tony at trirand dot com. It is maybe the first step for this feature.
Best Regards
Tony
Hello,
Could you please point me where is the difference to correct this? Thank you.
Also when you use the date sorting it is a good idea to use the datefmt option to thell the grid what is the format for the date to sort it in right way. The dafault option of datefmt is Y-m-d. Is this your format? If not you will have bad sorting.
Also this is described in the docs: Basic Grid -> Properties->colModel Properties
Best Regards
Tony
Hello,
Thanks. I will fix this in the final 3.4
Regards
Tony
Hello,
What you mean rowid as string?
Regards
Tony
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top