Hi!
You can use postData to give parameters which will be appended to the url before the request. To make no request at the page start you can set datatype parameter
Hi squid!
I understand what you mean. jqGrid has now both simple search and advanced search (an additional configuration parameter). One can add one more parameter for “complex search”. If's not a problem. But in my current project the user interface is role based. There are some advanced user which have to analyse data and produce different custom reports or custom filtering of data. This advanced users are from management and so are very important. They know excel very good, so currently I implemented an export of data to excel. But such advanced users like advanced search and they asked me about “complex search”. They asked moreover about the possibility to save a complex search request to be able easy reproduce there. So they wanted even more as we currently discuss.
So squid, generally I don't think, that all jqGrids must have “complex search”, but some from there. It's realy depend on the project requirements. Currenly I use everyware advanced search because the first look of the dialog is very clear and a simple user can understand imediately how to make a simple search. Only it he is not quite a simple user he begins to try all possibilities. So in general I like a simple user interface, but sometimes one can combine a simple first look with a powerful features.
But it's only my personal opinion. It would be interesting if more peoples say your meaning about the discussed subject.
Best regards and thank you very much squid for your post
Oleg
Hi Tony!
It is a very good idea! Some time before I wanted to write a suggestion to add possibility to include “all”/”any” not to the full serach request, but to a group instead. I forget to do this because of other main work. The current implementation of parsing of the search requests from the server side can be very easy modified to process such requests and the Advance Search will be perfect. One will be able construct practicaly any serach filter. One needs only to be able to group some filters and place “all”/”any” (AND/OR) for the group. It seems to me it is the same (or almost the same) what you want to implement.
If you will have a beta version of this I could help to test it.
Best regards
Oleg
You
Hello Tony!
Thank you for the information. I understood the problem exactly how you as wrote. I see one more a way to fix the problem and to expand a little the features of Search plugin. I posted this in a features request /blog/?page_id=393/feature-request/editrules-in-serach-dialog/. The idea is to integrate jquery.searchFilter.js more in jqGrid.
In grid.inlinedit.js, grid.celledit.js and grid.formedit.js is used the method createEl from grid.common.js. This method has as an option id, which are a little different for inline edit and form edit. Why one use clone of rows in grid.searchFilter.js and not use createEl to build full data element one more time? Usage of createEl could give more advantaged like checkbox type in searching and much more. I
Verify that #results_grid is defined as a
Hello Tony!
Try with the following example from http://www.ok-soft-gmbh.com/jqGrid/MaskedEdit.htm. In the example there are defined a integer mask on “Tax” and “Total” columns. You can be able use masked input plugin without any problem in “Inline Edit” mode and “Form Edit” mode (saving of data is not implemented in this example), but has a large problem with Advanced
Hallo Rochiel,
1) In you question you wrote, that you just need display an additional message in case of successful add/edit operation. Now you write about some additional actions and changing/breaking of “process continue”. You should more exactly define what do you want. For displaying the error messages it is better to use errorTextFormat function and not a afterSubmit.
2) The url 'test_two.php?myid=initialid' from the example of Tony is just an example. If you are in the edit mode (form edit or inline edit) both select boxes will be displayed. So dataUrl:'test_two.php?myid=initialid' defines url which gives back the select values which will be display at the
Bonjour Rochiel!
I hope some my suggestions will be helpful you you:
The answer to your question you will find in the first paragraph of the page
Hi Tony,
I save
Thank you Tony,
Next week I'll have a little more time and probably add some more information on the same place in Wiki.
Best regards,
Oleg
Hi Tony!
I repeat my old suggestion one more time. If you insert alert() at least in debug version of jQuery for all cases if $, $.ui or $.ui.multiselect not defined you will save a lot of yor time and not advanced user will save also his time.
Regards
Oleg
Hello ddotsenko!
In the example on the http://www.accentsolution.com/static/jqgrid_localstore.html I could not find any loading of ui.multiselect.css and ui.multiselect.js. They must be explicit loaded before loading jqGrid (at least before grid.jqueryui.js) in your case before “/static/jquery.jqGrid_remote.js”.
I have no such problems. Be sure that you load and use the last version of jqGrid from http://github.com/tonytomov/jqGrid/tree/master). But if you use the newreset version of grid.jqueryui.js from GitHub, everething will be works. So simply try uncompressedversion from GitHub. I am sure that in a short time a new version of jqGrid will be released. If you do have some problems with the last version of jqGrid, then post an example of you code.
Regadrs
Oleg
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top