Currently this is not possible, but this is great idea which I will try to implement – that is: onSelectRow should accept two parameters – the id of the selected row and which column is clicked – this way this will solve your problem.
Thanks
Regards
Tony
It is event like onSelectRow.
…
onSelectRow : function(rowid){
// do something here
},
ondblClickRow: function(rowid) {
// do something here
}
…
Just add a href tag into the string and send it to the grid
There are a couple of such examples here, but I can’t find it – since the forum software is not good. (It will be chaged soon)
Regards
Tony
Will be added.
Regards
Tony
Use onSelect Row of master to obtain the detail lines and
ondblClickRow (in master ) to edit that record
Regards
Tony
To this function can be passed a parameter with array data. Something like
var SaveRecord = function(posdata) {
// this is a data to be posted
}
Regards
Tony
use postData array – see User modules in the docs – if I understand you right.
Regards
Tony
Currently there is only on alert when some error occur. I will change this behawior with from $.post to $ajax so we can handle when error for server.
Regards
Tony
Really do not understand – please describe simple.
Maybe you can use poasData extension – see docs
Regards
Tony
bigjoe,
Thank you for this.
First – for me is a little difficult to write such documentation.
I’m not english speaking.
Second this job is more time consuming as of development of grid.
Of course good documentation is needed.
With other words if you have time and want to participate of the jqGrid development you are welcome.
Thank you
Best Regards
Tony
Currently this is not possible. You can try to use beforeSubmit event to add extra parameters to the ajax request, but not sure if this will work.
Regards
Tony
Josep,
loadError is only for the grid data and not for the form edit. Also this a missing function which should be added. Basically you can use afterSubmit event. This event is fired after the response from the server. If you know the returned data you can return true, in all other cases false.
This event accept two parameter – the data from the server and the array of the posted data. Regards
Tony
Dave,
Nothing special – see demos
jQuery(‘#mygrid’).navGrid(‘#mypager’,{add:false,edit:false,delete:false,search:true,refresh:true},….)
Regards
Tony
Use onPaging event – this even accept a parameter which button is clicked – i.e. first, last, prev, next – something like
onPaging: function(sButt) {
…
}
This event fires when the page button is clicked and before populating a data.
Regards
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top