Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: 1 [2]
  Reply  |  Print  
Author Topic: autocomplete during input  (Read 22321 times)
Bryce S.
Posts: 52


« Reply #15 on: November 04, 2010, 03:27:58 am »

Just keep also in mind that the prototype is far from being perfect: if the communication / database / program is pretty slow, GDC's type ahead will buffer each keystroke and you may end with a 100% CPU time on the desktop and on the server too, as GDC has today no way to cancel the type ahead and the request.

I've been playing with a psuedo autocomplete just using dialogtouched (haven't got to using 2.30 yet). To really make that work I'd ideally like to be able to ignore the keystrokes until there has been a quarter or half second pause in typing - so input is not slowed up for users who are quick on the keyboard. I'd only fill my autocomplete data after the pause is sensed.
  So, while you are working on this 'autocomplete' feature, can you have this in mind and (assuming the technology allows it) add a parameter to not execute any completion code until a pause (of a configurable time) in typing is sensed? Would be quite handy especially if the autocomplete code is hitting a large number of rows from the database as the first search will already be more refined if user has already typed 3 or 4 characters.
 
Cheers,  Bryce Stenberg.
.
Four Js
Posts: 115


« Reply #16 on: November 05, 2010, 09:08:31 am »

Would I be right to say this didn't make 2.30?

Or is it merely undocumented?

I'm in the process of migrating to 2.30 and would love to try this feature. Please!

Thanks

Jeff

Unfortunately the prototype has not been validated, and it has been decided to postpone this feature so we can provide something more robust and working on all front-ends instead of a quick client-side and GDC only solution.

Regards,
Pierre-Nicolas
Reuben B.
Four Js
Posts: 1049


« Reply #17 on: November 07, 2010, 10:16:05 pm »

Would I be right to say this didn't make 2.30?

Or is it merely undocumented?

I'm in the process of migrating to 2.30 and would love to try this feature. Please!

Thanks

Jeff

Unfortunately the prototype has not been validated, and it has been decided to postpone this feature so we can provide something more robust and working on all front-ends instead of a quick client-side and GDC only solution.

Regards,
Pierre-Nicolas

If you want something for the current release and aren't prepared to work with ON ACTION dialogtouched,  there maybe solutions available that work for both GDC and GWC using WEBCOMPONENTS https://4js.com/techdocs/genero/fgl/devel/DocRoot/User/WebComponent.html, and a 3rd party solution e.g. http://developer.yahoo.com/yui/autocomplete/

Reuben

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
Pages: 1 [2]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines