Hi folks,

could you please let me (us) know how to put LOV value into editable grid?

Currently I have an editable grid, where one of field uses a combobox for it's values. But, as there is so many values in combobox a list of value would be a much better option. Unfortunately we have a problem with it's implementation.

Could you please provide a demo for it? Or modify existing: http://formspideronline.com/formspider/main.html?name=DemoMain#DemoGrid where you could replace department column combobox values with a LOV field.

Many thanks, Tomas

asked 29 Oct '12, 13:29

Tomeo's gravatar image

accept rate: 3%

Hi Tomas,

You can set a datasource column as the target of a LOV column. I modified the demo that you have mentioned and added a LOV based on DEPARTMENTS1 datasource. Note that while assigning a target to the LOV columns "Datasource" is selected as "Target Type". The "Target" value "EMPLOYEES1.DEPARTMENT_NAME" represents that DEPARTMENT_NAME column of the EMPLOYEES1 datasource will be set when a value is selected from your LOV.

alt text

In the design XML, I removed the combobox and added a textLabel displaying department name and a button showing the LOV into the grid component;

<column headerLabel="Deparment">
  <textLabel column="DEPARTMENT_NAME"/>
<column width="20">
  <button tooltip="Select Department" label="...">
      <buttonPress action="demoGridShowDepartmentsLOV"/>

Hope this helps, Ibrahim


answered 30 Oct '12, 05:21

Ibrahim%20Sandalli's gravatar image

Ibrahim Sand... ♦♦
accept rate: 25%

Hi Ibrahim,

thanks for this demo update. It's now even more very useful.


(04 Nov '12, 11:58) Tomeo
Your answer
toggle preview

Follow this question

By Email:

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



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



Asked: 29 Oct '12, 13:29

Seen: 3,414 times

Last updated: 07 Nov '12, 05:15

© Copyright Gerger 2017