Hello,
errorfunc is called if the ajax request does not have ok status ( this is related as error function in jquery ajax request – see jquery docs)
aftersave function is called when the ajax is ok and data is saved (or not) in the database. This way you can notify users on what is going with the save – succes or not.
Regards
Tony
Hello
Read the docs.
Regards
Tony
Hello,
Maybe you can look in the padding properties for the tabe data elemets.
REgards
Tony
Hello,
Use afterSubmit event and then change the count in the form direct –
Regards
Tony
Hello Paul,
The short answer.
When you click first time the button, the grid is created and the data is populated – this is ok, but when you click second time to the button the grid is already created and you can not create it again using your approach
There are some way to overcome this.
1. Before creating a grid you can apply GridUnload method to restore the element to its default state.
2. There are more elegant way
$(“#mygrid”).jqGrid({datatype:”local”….}).setGridParam({datatype:”xml”});
and when you click your button
$(“#mybutton”).click(function() {
thisURL= …..
$(“#mygrid”).setGridParam({url:thisURL}).trigger(“reloadGrid”);
});
Hope this helps
Regards
Tony
Hello,
Currently not possible. Adeed in next major release.
Regards
Tony
Hello,
I do not have look at begginig of your code. It is not applicable this way.
Use beforeSubmit event instead.
Regards
Tony
Hello,
Using a custom formatter I think will do the job. Maybe you will need to ajust the cell displaying using the setCell method. Refer to docs.
Regards
Tony
Hello again,
Just to note – getCell uses rowid and not rowIndex (which is quite different)
REgards
Hello,
OK. Thanks – found a problem. Fixed. Will publish bug fix after some hours.
Regards
Tony
Hello,
How is your pager defined in the grid? Do you have read the IMPORTANT NOTES when using these functions?
Regards
Tony
Hello,
This is the right way.
Reagrds
Tony
Hello,
I never use Adobe AIR, so maybe you will help a little. In my Safari and Chrome all seems to be ok. Do you have any other definitions for the selects in the CSS files?
Also, could you please try only with pure jqGrtid and jQuery loaded
Hello,
Will be quite happy to see such realization. One more thing – jQuery UI – drag and drop does not work good on table rows.
Regards
Tony
Hello,
If you use formedit – afterSubmit is ideal for this – refer to docs
Regards
Tony
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top