Hello Reg,
This really very interesting recommendation. Since we use toggle
function for this, there will be a possible to define events when
the grid opened or closed.
Thank you
Regards
Tony
You code will never be lunched, since of this
var gsr = jQuery(”#list”).getGridParam('rowid');
First we do not have parameter rowid in options array.
Remove
Hello,
You are right. We will try to explain these functions in the documentation.
Thank you
Best Regards
Tony
Hello,
You can not do this in this event. jqGrid uses a standart ajax beforeSend
event. As of jQuery docs with this event you can only modifi the header of the request, but not the data. Here is the help.
beforeSend
“A pre-callback to modify the XMLHttpRequest object before it is sent. Use this to set custom headers etc. The XMLHttpRequest is passed as the only argument. This is an Ajax Event. You may return true in function to cancel the request.”
Best Regards
Tony
Open grid.formedit.js and see the two functions that you can use
to meet your needs – createModal and viewModal
Currently afterInsertRow
Hi,
1.Could you please explain what you have to do so that no scrollbar?
2. Yes this is true. Edit in place should known about treegrid – thank you.
Regards
Tony
Thanks,
The reason for this is that the position in the modal windows(in CSS)
Hello,
1. Search the forum how to insert html content in the cell.
2. From my initial post :
…..
I use in this case a postData array like this
postData:{nodeid:rc.id,n_left:rc.lft,n_right:rc.rgt,n_level:rc.level}
In other words you can grab these values and do something
like this to load the child nodes
SELECT category_name, level, lft, rgt FROM categories
WHERE lft > n_left AND rgt < n_right AND level = n_level +1
ORDER BY lft;
Once when all the nodes are loaded we do not make any other request to
Hello Reg,
Another possible solution is to use postData array, but for this reason we shoild define some events in searchGrid method. I will try to include some in the next release.
Regards
Tony
Currently no, but you can experiment with
Could you please test the modified old way. Open jquery.jqGrid.js and replace the following function
function IncludeJavaScript(jsFile)
As far as I known the size of input element can't be set in pixels with attribute
Thanks,
Will check this.
Regards
Tony
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top