I need the Drop Down Component....

8 messages - 2097 views

Hi Guys,

I need to put in Drop Down component in my application from where the user can then select the desired choice. Unfortunately I could not find any such component no even in th examples. Please suggest me the way to get this component or any other ways to implement this requirement.

Brief about myself: I have been into Telecom domain for 10 yrs now, I'm working as a project manager for last 3yrs and feel that have become quite rusty now after being into managerial role (without doing any coding). Now again trying hard to get back into the original developer mode.

Thanks: I really want to appreciate the efforts put in by the KUIX project team in developing such a framework to work on. Hats off to you guys...wish I too can be such talented as you...still trying to give my best to get the best out of me...

Cheers

Desi...

Drop down component, Combobox are named Choice in Kuix. Take a look at this compoment.

Its concept is particular because it is split into a Choice widget (visible on the screen and which display the selected value) and a ChoiceRadioGroup (visible only when you want to change the selected value). You can find an example of this component in the KuixDemo.

I think a popup menu with choiceradiogroup would be better than a separate screen, even if the screen is small.

So why not give it a try and allow to have both optins (new screen and popup over screen)?

Kuix Choice open a separate screen for several reasons :

- because of the small size of some screen it would be better to use full screen to list choices

- because popup aren't as simple to place correctly as it coulds appear on first relflexion

- because of its internal way to render the selected value. The first goal of a choice is to be usable of text value as any widget values (pictures, text and picture, custom widgets, ...) To optimize object creation, the choice was made to display the selected value without and clonage or duplication. Then in this case it isn't possible to display choice list and selected value in the same time.

 

But if you realy want a dropdown choice, you can take a look on Menu and it's MenuPopup. it dosn't include all basic mecanism of a combobox, but it would be possible to derived it.

 

Thanks Guys for your reponses,

Few doubts again: Im bit doubtful on the number of items the choice can support? I have to show almost 100+ entries in the choice box. Will it be feasible?

Thanks,

Cheers...

Desi

It can support as items as the phone memory can support. Each item will be represented by a widget instance (here a RadioButton).

Thanks Bo and all again,

So dont you think it will be a risky proposition in displaying 100+ items in choice. Also I have to use two choice box each carrying 100+ entries. So wht all you guys suggest I should do to implement Combobox keeping in mind the memory constraint.

 

Thanks,

Cheers...

Desi

for me this sounds nasty hack to go and display 100+ items on the phone... an u just filter them? for example allow navigate through items by alphabetic order, changing screens,

if you insist on having choises, you can allway split the list and that item NEXT after like 10-15, this is the best soliution in my mind. You wouldhave to worry then about the size of the memory.