Forum
11:42
10/08/2009
Hi Tony,
the current implementation of filterToolbar allows to set column operation only on all columns or on no columns using searchOperators parameter.
On the other side it have no sense for the operation on the column where no searchoptions.sopt is defined. The current implementation just add operation from defaultSearch in the column and the corresponding context menu don't allows to choose another operation, so the search operator just get some place from searching toolbar:
The demo can be used to reproduce the problem. It would be practical to be able to specify searchOperators property for the column like in case of clearSearch. The answer provide a workaround (see the demo), but it would be fine to have the feature out of the box.
Another problem: there are bug/compatibility problem in contextmenu for choosing of searching operation. It works incorrectly in jQuery UI 1.11.0/1.11.0. See the demo which reproduces the problem. Just opens the demo and try to choose another operation for Tax column for example. You will see the problem immediately. The menu looks like
instead of
By the way, I personally find the vertical distance between items in menu too high event in case of "correct" context menu. The context menu from the same demo, but using jQuery UIÂ 1.9.2 (see the demo) looks much better:
Best regards
Oleg
P.S. Sorry, but editing of code/pictures in the forum is really difficult. It unclear how to write more readable post.
17:02
10/08/2009
Hi Tony,
it seems to me that the CSS rules
.ui-search-menu.ui-menu .ui-menu-item { list-style-image: none; padding-right: 0; padding-left: 0; } .ui-search-menu.ui-menu .ui-menu-item a { display: block; } .ui-search-menu.ui-menu .ui-menu-item a.g-menu-item:hover { margin: -1px; font-weight: normal; }
can fix the jQuery UI compatibility problems which I described in the previous post.
Best regards
Oleg
P.S. The pull request contains the changes.
09:56
Moderators
30/10/2007
Hello Oleg,
Â
Thanks.
I do not think that the first requirement should be added as option (you know too many options) in grid.
As per second - I see it and have just merged the request.
Thanks again
Â
Best Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
Most Users Ever Online: 715
Currently Online:
21 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66