Disable context menu in QuickFilterField

This forum is used by users to request and discuss new product features. Please do not use this forum for technical support including bug reports.

Moderator: JIDE Support

Forum rules
Product suggestions only. Please do not use this forum for technical support including bug reports.

Disable context menu in QuickFilterField

Postby jaredmac » Wed Apr 11, 2007 1:35 pm

Hello,

We love the QuickFilterField but would like to disable the context menu (and thereby not have the down arrow show up).

We can disable the context menu by overriding createContextMenu to return null, but that still leaves us having to replace the icon (since it contains a down arrow).

Would this be an API enhancement you'd consider?

Thanks,
Jared
jaredmac
 
Posts: 216
Joined: Wed Mar 08, 2006 12:42 pm

Postby JIDE Support » Wed Apr 11, 2007 1:41 pm

You can use setIcon method and set it to null.

Thanks,
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 37219
Joined: Sun Sep 14, 2003 10:49 am

Postby kenneth.orr » Thu Apr 12, 2007 4:13 am

We don't actually want the icon to be null, what we'd prefer is just the magnifying glass without the popup menu indicator (the arrow). This is similar to the search field provided on Mac OS X and Windows Vista.

We're really looking to replicate the OS widget as closely as possible.

Thanks,
-Ken
kenneth.orr
 
Posts: 1
Joined: Thu Oct 19, 2006 6:14 am

Postby JIDE Support » Thu Apr 12, 2007 8:55 am

You could set an icon that does not have the arrow as the arrow is part of the icon we use on the textfield.

Easiest way to get that icon probably is to extract it from our jar file (com/jidesoft/grid/icons/quick_search.png) and slice it properly.

Thanks
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 37219
Joined: Sun Sep 14, 2003 10:49 am


Return to Product Suggestions

Who is online

Users browsing this forum: No registered users and 7 guests

cron