Daniel,
First you should use a 3.2rc
Here is a little fragment. I suppose you attach a click to new or edit buttons.
$(“#editbutton”).click(function() {
var master_id = $(“master”).getGridParam('selrow');
if(master_id) {
var masterdata = $(“master”).getRowData(master_id);
if (masterdata){
// here data from master
$(“#detail”).setGridParam({editurl:…})
}
}
});
Regards
Tony
If you use 3.1 veresion please switch to 3.2rc. There is a bug when setting the url dynamically. You should do something like this.
Select the master id. After the master id is selected change the editurl of the detail to appropriate way.
Regards
Tony
Try first without cgi script. If all is ok then something with a call is not correct
Tony
P.S
Not sure if you can use get inside this. I recommend you call get before constructing the grid. Set the result in variable and put this in colModel
Dave,
This is a partial solution, since if you dont want some hidden fields to be in form the would be.
I hope to publish the final 3.2 soon
Regards
Tony
John,
Thank you for this. You can write me a e-mai to
tony at trirand dot com
I known that the things that should be improved in the grid are – width management and scrolling. Currently
Reg,
For noneditable fields you should use a setRowData method
Regards
Tony
Could you plese give me a link
Regards
Tony
The last item should not have this ; at end – i.e the right is
item1:value1;item2:value2;…itemN:valueN
Regards
Tony
Search this forum for datepicker
Regards
Tony
Currently this is not possible, since jqGrid automaticalli add and tooltip (with the text of the cell content) and delete them if the user move the mouse out.
To do this we should disable this behaviour.
Regards
In the final release there will be a option to edit hidden fields in form editing
Regards
Tony
Please refer to the Docs about this – Width and Height topic.
Regards
Tony
Check what is with lastsel2. I think you should d something with this if the button is clicked
Regards
Tony
julizar,
I understand what you mean. Currently I recommend you to use
afterInsertRow(row_id) event
This happen in IE6/7 and with jQuery 1.2.6 ? – Right?
If this is the case there is a little bug in jqModal. Please switch to jQuery 1.2.3
untill the bug is corrected. I have implemented my solution for this but I'm not sure if this is the right way.
Regards
Tony
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top