Hello,
Since we have ajax here try with this:
var myaftersave = function (id){
Hello Anthony,
Sorry, but some time I do not have access to jqGrid code in order to answer exactly. Thanks for this – I will remember – when I'm not sure I will not answer.
Look at New in version 3.3 -> Data type as function
Here we have:
..jqGrid({
…
datatype : function (pdata) {
$.ajax({
url:'server.php?q=2',
data:pdata,
dataType:”json”,
complete: function(jsondata,stat)
{ if(stat==”success”) {
var thegrid = jQuery(“#listdt”)[0];
thegrid.addJSONData(eval(“(“+jsondata.responseText+”)”))
}
}
});
},
…
});
Does this help?
Best Regards
Tony
Hello,
Use setLabel method (after you construct the grid) for this purpose. See docs.
Regards
Tony
Hello,
If anyone has experiance with jqGrid and MS Acces Database
Hello,
You can use FormToGrid method.
Regards
Hello,
Do not understand what you mean for double post ( you have two post requests or the values are doubled), but the args array that you return is extended every time with the values from the cell contents when you save it.
Regards
Tony
Hello,
I suggest in this case to use own ajax something like this:
onClickButton:function(){
Hello,
The answer is just above and in this forum. You just need to read and use find button in the forum. This topic is discussed many times.
Regards
Tony
Hello,
Check your rowNum parameter in jqGrid. Also check if your server return the correct data.
Regards
Tony
Hello,
You do not need to coment this line in the css. In your page after you load the grid css you can
table.scroll tbody td
Hello,
How are the ids of the rows in the grid? Is your rows like this
Remember – you should understand that this is row id and not row index – this is quite different.
Regards
Tony
Hello,
Try to use gridComplete method where you can call sortData method – it is exactly what you want – do not use loadonce.
Regards
Tony
Hello,
Could you please send me the xml configuration – in my email (and if possible some part of the data generated from the server). At best it will be good if you send me a link to the problem.
Regards
Tony
Hello,
Something is wrong with your request. I recommend first – get the generated xml and use it as datatype: 'xmlstring'
Hello Kevin,
We hve two methods setGridWidth and setGridHeight (if I rememeber right) which can do the same.
Best Regards
Tony
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top