Hello,
There is a option called restoreAfterError, which default values is true. To do what you want set this option to false:
|
1 2 3 4 |
... $("#grid").editRow(rowId, {restoreAfterError:false,...}); ... |
The parameter also can be used in saveRow too.
Kind Regards,
Will
Guriddo Support Team
Hello,
Inline editing and grouping is scheduled for the next release.
Actually the summary is present (except in grouping) – look in demo
=> Functionality =>Footer Customization
The next release is expected in the middle of the May this Year.
Kind Regards
Will
Guriddo Support Team
Hello,
Navigator options does not have effect if you use separate editGridRow.
In the parameters in editGridRow where you call it you should set closeAfterEdit to true in order to get effect. This is something like this:
|
1 2 3 4 5 6 7 8 9 10 11 12 13 |
$onselrow = <<< ONSELROW function(rowid, selected) { if(rowid && rowid !== lastSelection) { $("#detail").jqGrid('restoreRow', lastSelection); $("#detail").jqGrid('editGridRow', rowid, {closeAfterEdit: true}); lastSelection = rowid; } } ONSELROW; |
I hope you get the point. Another solution is to use storeNavOptions in grid parameters set to true.
In this case the code can be
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
$onselrow = <<< ONSELROW function(rowid, selected) { if(rowid && rowid !== lastSelection) { $("#detail").jqGrid('restoreRow', lastSelection); var editopt = $("#detail").jqGrid('getGridParam','editOptions'); // addOptions, delOptions, searchOptions, viewOptions $("#detail").jqGrid('editGridRow', rowid, editopt); lastSelection = rowid; } } ONSELROW; |
The second solution is better IMHO.
Kind Regards,
Will
Guriddo Support Team
Hello,
Please in order to get correct support, please specify more details and code.
Escape characters does nothing to do with searching. You see them this way, but actually in php server side we get the the correct values.
What is your problem? What you set? What you do and how yo do this?
What you expect when you perform search?
A code demonstrating the problem is highly recommended.
Also which PHP version is used, Which browser, which browser version, which jqGrid version is used and etc.
I think you have a idea what you should do when you post a problem.
Kind Regards,
Will
Guriddo Support Team
Hello,
Can you please prepare a example?
This example demonstrates that closeAfterEdit work as expected
Kind Regards,
Will
Guriddo Support Team
Hello,
To disable the refresh button in navigator use
|
1 2 3 |
... $grid->setNavOptions('navigator',array("refresh"=>false)); ... |
Kind Regards,
Will
Guriddo Support Team
Hello,
Unfortunately saveState/loadState currently is not supported in TreeGrid. We will try to resolve this in the next bugfix release again with reloadNode.
Thank you for your report.
Kind Regards,
Will
Guriddo Support Team
Dear busko1@gmail,
In this event you can get the id of selected row using getGridParam.
Having the id you can get the data for the selected id in grid. With array you have you can add fields to post to the server.
Regards,
Will
Guriddo Support Team
Hello,
One possible solution is to use serializeEditData event when edit and adding data. See docs for this purpose. Also you can use any other event which modify the posted data. See on the same page.
Kind Regards,
Will
Guriddo Support Team
Hello,
The formatter is used for the grid and when you use edit form the unformat function is applied for the values in the grid. Additionally in editoptions value property (dataUrl and buildSelect too) you can use different options for the edited field
Kind Regards,
Will
Guriddo Support Team
Hello,
We have found the problem. Sorry for inconvenience. In order to get this working, please redownload from the github.
Thank you
Kind Regards,
Will
Guriddo Support Team
Hello,
The demo you mentioned is updated with the same file from github and it seems to work correct. Please download the demo from our download section here and try with it.
Kind Regards,
Will
Guriddo Support Team
Hello,
The new demo version is limited to 150 rows and you can insert update maximum 5 fields when edit.
Please read the important news in the demo zip file and in our download section
Kind Regards,
Will
Guriddo Support Team
Hello,
Thank you very much for the bug report. We have fixed the problem.
The demo (clear cache is required) and demo files (download section) are updated with the new fix.
Also you can download the fix from GitHub
Kind Regards,
Will
Guriddo Support Team
Hello Mark,
This is a very old version of FireFox!
My honesty answer is – I do not know which version of jqGrid will meet your requierment.
Can you please give us more detail on grid configuration setup – especially the search widget?
Thank you
Kind Regards,
Will
Guriddo Support Team
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top