Hi is it possible to set query dynamically for data source which was used in combobox . here it's short code Data source name : comdata query. : select emp_id as col1, emp_name as col2 from emp <combobox displaycolumn="col2" valuecolumn="col1" datasource="comdata">

but in some situation I want this same combo box for other value for ex. select dept_id as col1,dept_name as col2 from department. please suggest how can I solve this issue.

Thanks in advance.

venky

asked 25 Mar '14, 11:38

Venky's gravatar image

Venky
211
accept rate: 0%


Hi Venky,

Yes. This is possible using the api_datasource.setDefaultQuery API.

Kind Regards,
Yalim

link

answered 25 Mar '14, 11:52

Yalim%20Gerger's gravatar image

Yalim Gerger ♦♦
1.8k5
accept rate: 15%

wow what a quick reply, Thank you Sir

link

answered 25 Mar '14, 11:59

Venky's gravatar image

Venky
211
accept rate: 0%

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

Asked: 25 Mar '14, 11:38

Seen: 925 times

Last updated: 25 Mar '14, 11:59


© Copyright Gerger 2017