Hello,
Do not undestand. Could you please explain what you try to do.
Regards
Tony
Hello,
I'm not sure that I understand you, but the purpose of formatter of type select is to save the consistency of the relationship between the tables.
suppose you have in the definition
Hello,
You can use setLabel Method.
Regards
Tony
Hello,
Which version do you use?
Regards
Tony
Hello,
Do you have any code for this. I will be glad to publish if it is ok.
Regards
Tony
Hello,
Thank you for these investigations and tests. You help me a lot to improve the performance.
Actually the bad thing in 3.4 and in 3.5 alfa3 is that there are a lot of jQuery operators when adding data to the grid. This slow down the performance a lot.
I succesed to construct only strings (in my case array) and call jQuery only when the data is appened. I have added two options – load data at once or row by row when we have treegrid, subgrid and afterinsert event.
In first case the speed is about 10 time fater in the second 3-5 time faster compared to previous
Hello,
I mean after you call the filterGrid. After calling this method you can do
$(“sg_myfieldfromcolModel”).keydown(function() {
// use triggerSearch to do the job
});
Regards
Tony
Hello,
It seems like you use custom editing of the grid data and not the build in form, cell
Hello,
Actually the version is ready for publishing. The problem is documentation.
Regards
Tony
Hello,
Which version do you refer? Also in 3.5 there is parameter id – where you can add this for the nav button, so you can easy enable and disable. Not available in 3.4.x versions.
Regards
Tony
Hello,
It depends on how many data you load. If you load >1000 – yes there will be a problem. Currently I have succesed a significant speed improvments in 3.5 (not published yet)
Also in order to resolve the issue please be a more specific.
Regards
Tony
Hello,
What about to ask the developer of this plugin?
Hello,
What about to set in colModel
editrules : { edithidden:true} (refer to docs)
This way you can edit a hidden field in the form
Regards
Tony
Hello,
Thanks for using jqGrid.
1. As of the documentation jqGrid does not support attributes in xml (except for the id). Maybe you should switch to xml whitout attributes.
2. There is no problem to use cellEdit with treeGrid except for the column that is set as expanded. Also this point me to correct this bug.
3. We already have dellTreeNode method. Adding nodes currently can be a little tricky, since there is no method in jqGrid to do this. In my project I use form editing to add a node with mode – reloadAfterSubmit:true. This way the node is added to the server and reloading the tree put the thingas in right pllace.
Also I hope to develop addTreeNode method soon. The problem is in nested set model where a lot of calculatins should be done.
Best Regards
Tony
Hello,
Try this
var mygrid = $(“#grid”);
mygrid.expandNode(mygrid.getInd(mygrid[0].rows, lastClickedRow, true));
To getInd we pass 3 parameters – object , rowid and true/false
in case of true we return the row object in case of false(default) rowIndex.
Regards
Tony
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top