kvision / pl.treksoft.kvision.form.select

Package pl.treksoft.kvision.form.select

Full-featured select component with support for remote (AJAX) data source.

Types

AjaxOptions

data class AjaxOptions

Data class for AJAX options.

DATATYPE

enum class DATATYPE

Data type for the AJAX call.

HTTPTYPE

enum class HTTPTYPE

HTTP protocol type for the AJAX call.

SELECTWIDTHTYPE

enum class SELECTWIDTHTYPE

Select width types. See Bootstrap Select width.

Select

open class Select : SimplePanel, StringFormControl

The form field component for Select control.

SelectInput

open class SelectInput : SimplePanel

The basic component for Select control.

SelectOptGroup

open class SelectOptGroup : SimplePanel

The helper container for adding option groups to Select.

SelectOption

open class SelectOption : Widget

The helper component for adding options to Select or SelectOptGroup.

Functions

toJs

fun AjaxOptions.toJs(emptyOption: Boolean): dynamic

Convert AjaxOptions to JavaScript JSON object.