StringList Editor

From Lianjapedia
Revision as of 11:10, 5 March 2020 by Yvonne.milne (Talk | contribs)

Jump to: navigation, search

Under Construction

Overview

The StringList Editor is displayed in a dialog and allows list items to be selected and deselected. From v5.3.

StringList Editor


It can be specified as the Cell editor type for Form Section Fields, Grid Section Columns or Canvas Section Advanced Controls that are data-bound to varchar/memo variable length columns.

It can also be called directly using the Lianja.showMoverDialog() method.


Lianja.showMoverDialog()

The Lianja.showMoverDialog() method displays the StringList Editor in a centered popup dialog, e.g.

Lianja.showMoverDialog("Select Items","Items Selected","Coffee,Tea,Beer,Soda,Water","Coffee,Tea")

StringList Editor

The Lianja.showMoverDialog() method is available on the descktop in Lianja/VFP or JavaScript and in JavaScript in the Web Client.

Syntax

Lianja.showMoverDialog(cTitle, cCaption, cItems, cSelecteditems [, cTargetid])
Arg Description
cTitle The title displayed in the dialog header.
cCaption The text displayed above the selected items (right hand list)
cItems The list of selectable items.
cSelecteditems The list of items already selected.
cTargetid The id of the target UI element, e.g. "page1.section1.field1".