Hello,
You missed to load the jQuery UI java script lib. We use sortable jQuery UI component.
Regards
Helllo,
Look 7-8 line below this – something like this:
var bfsr = $.isFunction( o.beforeSaveRow ) ? o.beforeSaveRow.call($t,o, rowid) : undefined;
if( bfsr === undefined ) {
Hello,
There is a not documented event beforeSaveRow. If the event return true the save is ok if false the save
Hello,
Yes this is possible. You can use the beforeshowForm event. See documentation.
Also search this forum – you will find similar solutions.
Kind Regards
Hello,
Are you using jqGrid PHP commertial component or only the open source.
If this is the first case, please post your question here
If it is a second case it seems you try to load a resource whch is not defined.
Please load first the jqGrid lang file and the jqGrid javascript first and then load these.
Also if you comment these lines what is happen?
Regards
Hello,
Thank you very much for sharing your code.
Certainly I will test this and will make decision if I will include it.
Thanks again. I
Hello,
jqGrid is client side component ad it does not support any operation to database.
In order to do this you will need first to update the database using ajax and if the update is succesfully you can add the row to the grid.
This can look like:
var datarow = {id:”99″,invdate:”2007-09-01″,name:”test3″,note:”note3″,amount:”400.00″,tax:”30.00″,total:”430.00″};
jQuery.ajax({
url: “url_to_the_server”,
data: datarow,
success: function(…){
// here you can add the
Hello,
I think it is better to remove this prefix.
Regards
Hello,
Thank you very much. Fixed in GitHub
Regards
Hello,
Thank you posting your code, but let me say – it is too complex.
Can you please just prepare as simple as possible test case?
Thank you
Kind Regards
Hello,
I like this idea.
Kind Regards
Tony
Hello,
Thanks for this. Will maybe improve sortGrid function.
Currently in order to achieve this you will need to call sortGrid (in multiSort set to true) several times like this.
jQuery(“#grid”)
.jqGrid('sortGrid', “Field1″, true, “asc”)
.jqGrid('sortGrid', “Field2″, true, “desc”);
Regards
Hello,
What you mean with should be a diffrent from other rows.
Please look which calsses are used for the rows in jqGrid.
You always can add your own row – just try and see what will be happen.
Regards
Hello,
Any example on this. It depend which jQuery UI version you use.
Please check if this version is comatible with jqyery used.
Kind Regards
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top