Hi Mustafa,
cool, will check it out ...
cheers
tobi
Yesterday Mustafa Sak wrote:
> Hi,
>
> I wrote a combobox subclass and changed list widget to table. In my case
> remote table was great. So I'll share it with you, may be its helpful to
> make your own class more efficient.
>
> Regards Mustafa Sak
>
> Take a look at the zip file. You can implement it like this:
>
> var tablemodel = new project.referenceSearchRDM();
> var columnSet =[ [clazz.tr("Code"), clazz.tr("Name")],
> ["ref_code","ref_name"]];
> var obj = new project.vComboBox(tablemodel, columnSet);
>
>
>
> SAKsystems
>
> Inh. Mustafa Sak
>
> Varrelmannstr. 16
>
> 30453 Hannover
>
> Tel. +49 511 / 165 969 40
>
> Fax +49 511 / 165 969 49
>
> Mobil +49 163 / 312 6144
>
> http://www.saksys.de
>
> [email protected]
>
> STEUER-Nr. 2613817458
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Stanislav Sinyagin [mailto:[email protected]]
> Gesendet: Donnerstag, 3. März 2011 20:34
> An: qooxdoo Development
> Betreff: Re: [qooxdoo-devel] qx.ui.form.ComboBox with incremental search
> andqx.ui.table.model.*
>
>
>
>
>
> ----- Original Message ----
> > From: Tobias Oetiker <[email protected]>
> >
> > I am looking at a scenario where I need a selectbox widget with
> > incremental search ... Ideally using the table for listing the
> > possible completions, so that I could even plug the remote table
> > model ...
> >
> > has anyone done something like this and would be prepared to share
> > ? I can offer to turn it into a contrib ...
>
> hoi Tobi,
>
> I've done this with a text input and a list:
>
> http://goo.gl/k8Tcn
>
> Lines 49, 63: creating the widgets
>
> Lines 95-155: bind the typing events with list updates.
>
> Works perfectly, but I don;t have a public demo:)
>
> Probably same thing could be done with qx.ui.form.ComboBox if needed.
>
> If you prefer a table over a list, on Line 211 I update the table
> dynamically :)
>
> ----------------------------------------------------------------------------
> --
> Free Software Download: Index, Search & Analyze Logs and other IT data in
> Real-Time with Splunk. Collect, index and harness all the fast moving IT
> data
> generated by your applications, servers and devices whether physical,
> virtual
> or in the cloud. Deliver compliance at lower cost and gain new business
> insights. http://p.sf.net/sfu/splunk-dev2dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
--
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch [email protected] ++41 62 775 9902 / sb: -9900------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel