| Name | Type | Default |
|
width
# |
String | Number
|
560
|
Sets or gets the width of the widget.
<template>
<JqxPickList ref="myPickList"
:source="source" :width="560"
/>
</template>
<script setup>
import { ref } from "vue";
import JqxPickList from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpicklist.vue';
const source = ref(["React", "Vue", "Angular", "Svelte", "Solid"]);
</script>
|
|
height
# |
String | Number
|
340
|
Sets or gets the height of the widget.
<template>
<JqxPickList ref="myPickList"
:source="source" :height="340"
/>
</template>
<script setup>
import { ref } from "vue";
import JqxPickList from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpicklist.vue';
const source = ref(["React", "Vue", "Angular", "Svelte", "Solid"]);
</script>
|
|
source
# |
Array | Object
|
null
|
Sets or gets the pool of available items. Accepts an array of strings, an array of objects, or a jqxDataAdapter instance.
<template>
<JqxPickList ref="myPickList"
:source="source"
/>
</template>
<script setup>
import { ref } from "vue";
import JqxPickList from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpicklist.vue';
const source = ref(["React", "Vue", "Angular", "Svelte", "Solid"]);
</script>
|
|
selectedItems
# |
Array
|
[]
|
Sets or gets the values that start in the Selected list. Values are matched against valueMember.
<template>
<JqxPickList ref="myPickList"
:source="source"
/>
</template>
<script setup>
import { ref } from "vue";
import JqxPickList from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpicklist.vue';
const source = ref(["React", "Vue", "Angular", "Svelte", "Solid"]);
</script>
|
|
displayMember
# |
String
|
""
|
Sets or gets the field of a source object used as the item label.
<template>
<JqxPickList ref="myPickList"
:source="source"
/>
</template>
<script setup>
import { ref } from "vue";
import JqxPickList from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpicklist.vue';
const source = ref(["React", "Vue", "Angular", "Svelte", "Solid"]);
</script>
|
|
valueMember
# |
String
|
""
|
Sets or gets the field of a source object used as the item value.
<template>
<JqxPickList ref="myPickList"
:source="source"
/>
</template>
<script setup>
import { ref } from "vue";
import JqxPickList from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpicklist.vue';
const source = ref(["React", "Vue", "Angular", "Svelte", "Solid"]);
</script>
|
Sets or gets the header text of the available list. Set to null to hide the header row.
<template>
<JqxPickList ref="myPickList"
:source="source"
/>
</template>
<script setup>
import { ref } from "vue";
import JqxPickList from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpicklist.vue';
const source = ref(["React", "Vue", "Angular", "Svelte", "Solid"]);
</script>
|
Sets or gets the header text of the selected list. Set to null to hide the header row.
<template>
<JqxPickList ref="myPickList"
:source="source"
/>
</template>
<script setup>
import { ref } from "vue";
import JqxPickList from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpicklist.vue';
const source = ref(["React", "Vue", "Angular", "Svelte", "Solid"]);
</script>
|
|
showCounts
# |
Boolean
|
true
|
Sets or gets whether item counts are shown in the list headers.
<template>
<JqxPickList ref="myPickList"
:source="source"
/>
</template>
<script setup>
import { ref } from "vue";
import JqxPickList from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpicklist.vue';
const source = ref(["React", "Vue", "Angular", "Svelte", "Solid"]);
</script>
|
|
filterable
# |
Boolean
|
false
|
Sets or gets whether a search box is displayed above each list.
<template>
<JqxPickList ref="myPickList"
:source="source" :filterable="true"
/>
</template>
<script setup>
import { ref } from "vue";
import JqxPickList from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpicklist.vue';
const source = ref(["React", "Vue", "Angular", "Svelte", "Solid"]);
</script>
|
|
filterPlaceHolder
# |
String
|
"Filter..."
|
Sets or gets the placeholder text of the search boxes.
<template>
<JqxPickList ref="myPickList"
:source="source"
/>
</template>
<script setup>
import { ref } from "vue";
import JqxPickList from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpicklist.vue';
const source = ref(["React", "Vue", "Angular", "Svelte", "Solid"]);
</script>
|
|
searchMode
# |
String
|
"containsignorecase"
|
Sets or gets how the search boxes match items. Possible values: 'none', 'contains', 'containsignorecase', 'equals', 'equalsignorecase', 'startswith', 'startswithignorecase', 'endswith', 'endswithignorecase'.
<template>
<JqxPickList ref="myPickList"
:source="source" :filterable="true" :searchMode="'startswithignorecase'"
/>
</template>
<script setup>
import { ref } from "vue";
import JqxPickList from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpicklist.vue';
const source = ref(["React", "Vue", "Angular", "Svelte", "Solid"]);
</script>
|
|
checkboxes
# |
Boolean
|
false
|
Sets or gets whether items are selected with checkboxes.
<template>
<JqxPickList ref="myPickList"
:source="source" :checkboxes="true"
/>
</template>
<script setup>
import { ref } from "vue";
import JqxPickList from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpicklist.vue';
const source = ref(["React", "Vue", "Angular", "Svelte", "Solid"]);
</script>
|
|
reorderable
# |
Boolean
|
false
|
Sets or gets whether the selected list can be reordered. Adds move up and move down buttons.
<template>
<JqxPickList ref="myPickList"
:source="source" :reorderable="true"
/>
</template>
<script setup>
import { ref } from "vue";
import JqxPickList from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpicklist.vue';
const source = ref(["React", "Vue", "Angular", "Svelte", "Solid"]);
</script>
|
|
renderer
# |
Function
|
null
|
Sets or gets a custom item template. The function returns the HTML rendered for an item.
<template>
<JqxPickList ref="myPickList"
:source="source"
/>
</template>
<script setup>
import { ref } from "vue";
import JqxPickList from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpicklist.vue';
const source = ref(["React", "Vue", "Angular", "Svelte", "Solid"]);
</script>
|
|
buttons
# |
Array
|
['add', 'addAll', 'remove', 'removeAll']
|
Sets or gets which transfer buttons are rendered. Valid entries are add, addAll, remove and removeAll.
<template>
<JqxPickList ref="myPickList"
:source="source"
/>
</template>
<script setup>
import { ref } from "vue";
import JqxPickList from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpicklist.vue';
const source = ref(["React", "Vue", "Angular", "Svelte", "Solid"]);
</script>
|
|
itemHeight
# |
Number
|
26
|
Sets or gets the height of an item, in pixels.
<template>
<JqxPickList ref="myPickList"
:source="source"
/>
</template>
<script setup>
import { ref } from "vue";
import JqxPickList from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpicklist.vue';
const source = ref(["React", "Vue", "Angular", "Svelte", "Solid"]);
</script>
|
|
sourceLabel
# |
String
|
"Available items"
|
Sets or gets the accessible name of the available list.
<template>
<JqxPickList ref="myPickList"
:source="source"
/>
</template>
<script setup>
import { ref } from "vue";
import JqxPickList from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpicklist.vue';
const source = ref(["React", "Vue", "Angular", "Svelte", "Solid"]);
</script>
|
|
targetLabel
# |
String
|
"Selected items"
|
Sets or gets the accessible name of the selected list.
<template>
<JqxPickList ref="myPickList"
:source="source"
/>
</template>
<script setup>
import { ref } from "vue";
import JqxPickList from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpicklist.vue';
const source = ref(["React", "Vue", "Angular", "Svelte", "Solid"]);
</script>
|
|
disabled
# |
Boolean
|
false
|
Sets or gets whether the widget is disabled.
<template>
<JqxPickList ref="myPickList"
:source="source"
/>
</template>
<script setup>
import { ref } from "vue";
import JqxPickList from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpicklist.vue';
const source = ref(["React", "Vue", "Angular", "Svelte", "Solid"]);
</script>
|
|
rtl
# |
Boolean
|
false
|
Sets or gets whether the widget is displayed right-to-left.
<template>
<JqxPickList ref="myPickList"
:source="source"
/>
</template>
<script setup>
import { ref } from "vue";
import JqxPickList from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpicklist.vue';
const source = ref(["React", "Vue", "Angular", "Svelte", "Solid"]);
</script>
|
|
theme
# |
String
|
''
|
Sets or gets the theme of the widget.
<template>
<JqxPickList ref="myPickList"
:source="source"
/>
</template>
<script setup>
import { ref } from "vue";
import JqxPickList from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpicklist.vue';
const source = ref(["React", "Vue", "Angular", "Svelte", "Solid"]);
</script>
|
|
|
|
create
# |
Event
|
|
This event is triggered when the widget is created.
Code examples #
Bind to the create event of jqxPickList.
<template>
<JqxPickList ref="myPickList" @create="onCreate($event)"
:source="source"
/>
</template>
<script setup>
import { ref } from "vue";
import JqxPickList from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpicklist.vue';
const source = ref(["React", "Vue", "Angular", "Svelte", "Solid"]);
function onCreate(event) {
alert('do something...');
}
</script>
|
|
change
# |
Event
|
|
This event is triggered when the selected items change. The event argument carries added, removed and selectedItems.
Code examples #
Bind to the change event of jqxPickList.
<template>
<JqxPickList ref="myPickList" @change="onChange($event)"
:source="source"
/>
</template>
<script setup>
import { ref } from "vue";
import JqxPickList from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpicklist.vue';
const source = ref(["React", "Vue", "Angular", "Svelte", "Solid"]);
function onChange(event) {
alert('do something...');
}
</script>
|
|
itemsAdded
# |
Event
|
|
This event is triggered when items are moved into the selected list. The event argument carries items.
Code examples #
Bind to the itemsAdded event of jqxPickList.
<template>
<JqxPickList ref="myPickList" @itemsAdded="onItemsAdded($event)"
:source="source"
/>
</template>
<script setup>
import { ref } from "vue";
import JqxPickList from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpicklist.vue';
const source = ref(["React", "Vue", "Angular", "Svelte", "Solid"]);
function onItemsAdded(event) {
alert('do something...');
}
</script>
|
|
itemsRemoved
# |
Event
|
|
This event is triggered when items are moved out of the selected list. The event argument carries items.
Code examples #
Bind to the itemsRemoved event of jqxPickList.
<template>
<JqxPickList ref="myPickList" @itemsRemoved="onItemsRemoved($event)"
:source="source"
/>
</template>
<script setup>
import { ref } from "vue";
import JqxPickList from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpicklist.vue';
const source = ref(["React", "Vue", "Angular", "Svelte", "Solid"]);
function onItemsRemoved(event) {
alert('do something...');
}
</script>
|
|
reordered
# |
Event
|
|
This event is triggered when the selected list is reordered. The event argument carries items.
Code examples #
Bind to the reordered event of jqxPickList.
<template>
<JqxPickList ref="myPickList" @reordered="onReordered($event)"
:source="source"
/>
</template>
<script setup>
import { ref } from "vue";
import JqxPickList from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpicklist.vue';
const source = ref(["React", "Vue", "Angular", "Svelte", "Solid"]);
function onReordered(event) {
alert('do something...');
}
</script>
|
|
|
| Name | Arguments | Return Type |
|
getSelectedItems
# |
|
Array
|
Returns the items currently in the selected list, in order.
<template>
<JqxPickList ref="myPickList"
:source="source"
/>
</template>
<script setup>
import { onMounted, ref } from "vue";
import JqxPickList from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpicklist.vue';
const myPickList = ref(null);
const source = ref(["React", "Vue", "Angular", "Svelte", "Solid"]);
onMounted(() => {
const value = myPickList.value.getSelectedItems();
});
</script>
|
|
getSelectedValues
# |
|
Array
|
Returns the values currently in the selected list, in order.
<template>
<JqxPickList ref="myPickList"
:source="source"
/>
</template>
<script setup>
import { onMounted, ref } from "vue";
import JqxPickList from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpicklist.vue';
const myPickList = ref(null);
const source = ref(["React", "Vue", "Angular", "Svelte", "Solid"]);
onMounted(() => {
const value = myPickList.value.getSelectedValues();
});
</script>
|
|
getSource
# |
|
Array
|
Returns the items remaining in the available list.
<template>
<JqxPickList ref="myPickList"
:source="source"
/>
</template>
<script setup>
import { onMounted, ref } from "vue";
import JqxPickList from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpicklist.vue';
const myPickList = ref(null);
const source = ref(["React", "Vue", "Angular", "Svelte", "Solid"]);
onMounted(() => {
const value = myPickList.value.getSource();
});
</script>
|
|
add
# |
values
|
None
|
Moves one or more values into the selected list.
<template>
<JqxPickList ref="myPickList"
:source="source"
/>
</template>
<script setup>
import { onMounted, ref } from "vue";
import JqxPickList from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpicklist.vue';
const myPickList = ref(null);
const source = ref(["React", "Vue", "Angular", "Svelte", "Solid"]);
onMounted(() => {
myPickList.value.add('Vue');
});
</script>
|
|
remove
# |
values
|
None
|
Moves one or more values out of the selected list.
<template>
<JqxPickList ref="myPickList"
:source="source"
/>
</template>
<script setup>
import { onMounted, ref } from "vue";
import JqxPickList from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpicklist.vue';
const myPickList = ref(null);
const source = ref(["React", "Vue", "Angular", "Svelte", "Solid"]);
onMounted(() => {
myPickList.value.remove('Vue');
});
</script>
|
|
addAll
# |
|
None
|
Moves every available item into the selected list.
<template>
<JqxPickList ref="myPickList"
:source="source"
/>
</template>
<script setup>
import { onMounted, ref } from "vue";
import JqxPickList from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpicklist.vue';
const myPickList = ref(null);
const source = ref(["React", "Vue", "Angular", "Svelte", "Solid"]);
onMounted(() => {
myPickList.value.addAll();
});
</script>
|
|
removeAll
# |
|
None
|
Moves every selected item back into the available list.
<template>
<JqxPickList ref="myPickList"
:source="source"
/>
</template>
<script setup>
import { onMounted, ref } from "vue";
import JqxPickList from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpicklist.vue';
const myPickList = ref(null);
const source = ref(["React", "Vue", "Angular", "Svelte", "Solid"]);
onMounted(() => {
myPickList.value.removeAll();
});
</script>
|
|
moveUp
# |
|
None
|
Moves the highlighted items one position up in the selected list. Requires reorderable.
<template>
<JqxPickList ref="myPickList"
:source="source"
/>
</template>
<script setup>
import { onMounted, ref } from "vue";
import JqxPickList from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpicklist.vue';
const myPickList = ref(null);
const source = ref(["React", "Vue", "Angular", "Svelte", "Solid"]);
onMounted(() => {
myPickList.value.moveUp();
});
</script>
|
|
moveDown
# |
|
None
|
Moves the highlighted items one position down in the selected list. Requires reorderable.
<template>
<JqxPickList ref="myPickList"
:source="source"
/>
</template>
<script setup>
import { onMounted, ref } from "vue";
import JqxPickList from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpicklist.vue';
const myPickList = ref(null);
const source = ref(["React", "Vue", "Angular", "Svelte", "Solid"]);
onMounted(() => {
myPickList.value.moveDown();
});
</script>
|
|
val
# |
value
|
Array
|
Gets the selected values, or sets them when an array is passed.
<template>
<JqxPickList ref="myPickList"
:source="source"
/>
</template>
<script setup>
import { onMounted, ref } from "vue";
import JqxPickList from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpicklist.vue';
const myPickList = ref(null);
const source = ref(["React", "Vue", "Angular", "Svelte", "Solid"]);
onMounted(() => {
const value = myPickList.value.val();
});
</script>
|
|
focus
# |
|
None
|
Focuses the available list.
<template>
<JqxPickList ref="myPickList"
:source="source"
/>
</template>
<script setup>
import { onMounted, ref } from "vue";
import JqxPickList from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpicklist.vue';
const myPickList = ref(null);
const source = ref(["React", "Vue", "Angular", "Svelte", "Solid"]);
onMounted(() => {
myPickList.value.focus();
});
</script>
|
|
refresh
# |
|
None
|
Refreshes the widget.
<template>
<JqxPickList ref="myPickList"
:source="source"
/>
</template>
<script setup>
import { onMounted, ref } from "vue";
import JqxPickList from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpicklist.vue';
const myPickList = ref(null);
const source = ref(["React", "Vue", "Angular", "Svelte", "Solid"]);
onMounted(() => {
myPickList.value.refresh();
});
</script>
|
|
render
# |
|
None
|
Renders the widget.
<template>
<JqxPickList ref="myPickList"
:source="source"
/>
</template>
<script setup>
import { onMounted, ref } from "vue";
import JqxPickList from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpicklist.vue';
const myPickList = ref(null);
const source = ref(["React", "Vue", "Angular", "Svelte", "Solid"]);
onMounted(() => {
myPickList.value.render();
});
</script>
|
|
destroy
# |
|
None
|
Destroys the widget and removes it from the DOM.
<template>
<JqxPickList ref="myPickList"
:source="source"
/>
</template>
<script setup>
import { onMounted, ref } from "vue";
import JqxPickList from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpicklist.vue';
const myPickList = ref(null);
const source = ref(["React", "Vue", "Angular", "Svelte", "Solid"]);
onMounted(() => {
myPickList.value.destroy();
});
</script>
|