How can I put combobox into textField in grid? After click on textField in a greed combobox will open with listed data, is it possible?

asked 04 Dec '12, 10:25

Emil's gravatar image

Emil
451113
accept rate: 0%

edited 04 Dec '12, 10:33

oskansavli's gravatar image

oskansavli ♦♦
3604

Why not just use combobox in grid?

(04 Dec '12, 10:33) oskansavli ♦♦

I need to create dropdown list in a textField like this:

<column headerlabel="University"> <textfield column="UNIVERSITY"> <combobox name="cmb1" displaycolumn="UNIVERSITY" valuecolumn="ID" listdatasource="UNIVER1"/> </textfield> </column>

and it gives error: cvc-complex-type.2.4.a: Invalid content was found starting with element 'comboBox'. One of '{"":events}' is expected. At Line: 29 , Column: 106

I'm new in formspider, sorry if this question very stupid.

(04 Dec '12, 10:44) Emil

You can not put a component inside another (except grid). If you are looking for an editable combobox, it is not implemented in formspider yet. You may use default combobox for now.

link

answered 04 Dec '12, 10:55

oskansavli's gravatar image

oskansavli ♦♦
3604
accept rate: 45%

It's not clear yet. Please see screenshot http://ubuntuone.com/2C0kEhO81hR8MyfOpWdQzq I implement this dropdown, but now I can't see data in column University until I choose value in dropdown.

(04 Dec '12, 11:02) Emil
1

Have you bound this combobox to a datasource column (like you do in textfield)?
It seems you've only set displayColumn and valueColumn. You should also set column attribute as well since it is in grid.

(04 Dec '12, 12:32) oskansavli ♦♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×30
×12

Asked: 04 Dec '12, 10:25

Seen: 1,693 times

Last updated: 04 Dec '12, 12:32


© Copyright Gerger 2017