Hello Shuki,
This is a very interesting thing and I think there is a solution for this.
In the current situation the only way to resolve the problem is to define a custom button in the toolbar which calls the edit row.
Now the simplest way is:
In the onclick action of this button
1. Get the id of the row.
2. Make ajax call to the server which obtain this row in json (or any other way):
2.1 On succes event of the ajax call get the data
2.2. analyze this data with your conditions.
2.3. Use setRowData to update the content of the grid row from the ajax call
2.4. if everthing is ok call editGridRow with disabled row navigator buttons in the form.
Enjoy
Tony
Hello,
Currently this is not suported, but there are a lot things which are done and need to be finished.
Regards
Tony
Hello,
This is not a bug and hence nothing to fix. You will need to use just the new method getLocalRow
function expandNode(rowid)
{
Hello,
Maybe you will nee to look here
http://www.trirand.com/jqgridwiki/doku.php?id=wiki:colmodel_options&s=setcolprop
Regards
Tony
Hello,
Which version of jqGrid is used?
Regards
Hello,
Here is the fix:
https://github.com/tonytomov/jqGrid/commit/9fd738fae5d1de97ee6fc25211ed39a6322152fe
Regards
Tony
Hello,
Thanks fixed.
Hello,
Thenks.
Not 100% sure, but this is connected with jQuery 1.5.x new behaviour.
Also fixed.
Tony
Hello,
Which version of jQuery is used. If this is jQuery 1.5.x, could you please test the same with jQuery 1.4.2?
Thank you
Regards
Tony
Hello,
Thank you for the recommendation.
Actually from this point our goal is not to add additional options into the grid.
The reason is simple. The grid has a thausand of options and sometime I can not remmember all.
You understand what I mean.
For this purpose to have deleseleced row
Hello Oleg,
I'm not sure that this fix is the appropriate.
Imagrine the field contain . (dot) after this fix and after query the name we will have escaped name – i.e not correct.
Regards
Tony
Thanks Oleg.
I have merged the fixes.
I prefer to discuss the changes first and then to make the changes.
The chang from the link you provide is already done.
Regards
Tony
Hello,
It is good to search the web, but better you should start with the documentation:
/jqgridwiki/doku.php?id=wiki:jqgriddocs
There is a such option. You just need to find it into the docs.
Regards
Tony
Hello,
It is fixed, but if you want to try to select this manually you should apply this function.
Would be nice to hear from you a solution for
better ID construction in jqgrid.
Regards Tony
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top