walking filter

Discuss all feature requests you have for a new Servoy versions here. Make sure to be clear about what you want, provide an example and indicate how important the feature is for you

walking filter

Postby lesouef » Wed Jul 14, 2010 12:05 pm

I'd like to make a walking filter like what I can do in JS in a web page using the onkeyup command to trigger an action on every character which is typed in a field. on small amount of records, it is very handy to filter records (in a web page, you can even not re-issue the records but simply hide the unnecessary rows using their <tr> object)
so, has anyone found a trick to avoid to type enter in a field to detect data change?
lesouef
 
Posts: 420
Joined: Thu Oct 20, 2005 8:13 pm
Location: Strasbourg & Paris - France

Re: walking filter

Postby ROCLASI » Wed Jul 14, 2010 12:11 pm

Hi Lesouef,

If you need this in Smart-client then you can use the Keylisteners plugin from Patrick Talbot.
http://www.servoyforge.net/projects/keylisteners
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: walking filter

Postby lesouef » Wed Jul 14, 2010 4:07 pm

though I know Patrick'site, never noticed this plugin. and it does work.
he just forgot to mention the possible key states, but I guessed the one I needed: keyPressed and keyReleased (probably std in java, but as I only know JS...)
there is also a small weird thing i'll report to him, only the 1st action is done, so if you want to focus back to where you were, you need to put it in the triggered method, not in keyListener method.
thanks.
lesouef
 
Posts: 420
Joined: Thu Oct 20, 2005 8:13 pm
Location: Strasbourg & Paris - France

Re: walking filter

Postby ROCLASI » Wed Jul 14, 2010 4:24 pm

Just add any issues/feature requests in the issue tracker of this project:
http://www.servoyforge.net/projects/keylisteners/issues
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium


Return to Discuss Feature Requests

Who is online

Users browsing this forum: No registered users and 7 guests

cron