| Name | Type | Default |
|
autoUpdate
# |
Boolean
|
false
|
Automatically updates the panel, if its children size is changed.
<template>
<JqxPanel ref="myPanel" :width="250" :height="250" :autoUpdate="true">
<div style="margin: 10px">
<h3>Early History of the Internet</h3>
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
<li>1970 Mark I network at NPL (UK)</li>
<li>1970 Network Information Center (NIC)</li>
<li>1971 Merit Network's packet-switched network operational</li>
<li>1971 Tymnet packet-switched network</li>
<li>1972 Internet Assigned Numbers Authority (IANA) established</li>
</ul>
</div>
</JqxPanel>
</template>
<script setup>
import JqxPanel from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpanel.vue';
</script>
|
|
disabled
# |
Boolean
|
false
|
Sets or gets whether the panel is disabled.
<template>
<JqxPanel ref="myPanel" :width="250" :height="250" :disabled="true">
<div style="margin: 10px">
<h3>Early History of the Internet</h3>
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
<li>1970 Mark I network at NPL (UK)</li>
<li>1970 Network Information Center (NIC)</li>
<li>1971 Merit Network's packet-switched network operational</li>
<li>1971 Tymnet packet-switched network</li>
<li>1972 Internet Assigned Numbers Authority (IANA) established</li>
</ul>
</div>
</JqxPanel>
</template>
<script setup>
import JqxPanel from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpanel.vue';
</script>
|
|
height
# |
Number | String
|
null
|
Sets or gets the panel's height.
<template>
<JqxPanel ref="myPanel" :width="250" :height="250">
<div style="margin: 10px">
<h3>Early History of the Internet</h3>
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
<li>1970 Mark I network at NPL (UK)</li>
<li>1970 Network Information Center (NIC)</li>
<li>1971 Merit Network's packet-switched network operational</li>
<li>1971 Tymnet packet-switched network</li>
<li>1972 Internet Assigned Numbers Authority (IANA) established</li>
</ul>
</div>
</JqxPanel>
</template>
<script setup>
import JqxPanel from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpanel.vue';
</script>
|
|
rtl
# |
Boolean
|
false
|
Sets or gets a value indicating whether widget's elements are aligned to support locales using right-to-left fonts.
<template>
<JqxPanel ref="myPanel" :width="250" :height="250" :rtl="true">
<div style="margin: 10px">
<h3>Early History of the Internet</h3>
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
<li>1970 Mark I network at NPL (UK)</li>
<li>1970 Network Information Center (NIC)</li>
<li>1971 Merit Network's packet-switched network operational</li>
<li>1971 Tymnet packet-switched network</li>
<li>1972 Internet Assigned Numbers Authority (IANA) established</li>
</ul>
</div>
</JqxPanel>
</template>
<script setup>
import JqxPanel from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpanel.vue';
</script>
|
|
sizeMode
# |
String
|
'fixed'
|
Sets or gets the sizing mode. In the 'fixed' mode, the panel displays scrollbars, if its content requires it. In the wrap mode, the scrollbars are not displayed and the panel automatically changes its size.
Possible Values:
'fixed'
'wrap'
<template>
<JqxPanel ref="myPanel" :width="250" :height="250" :sizeMode="'wrap'">
<div style="margin: 10px">
<h3>Early History of the Internet</h3>
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
<li>1970 Mark I network at NPL (UK)</li>
<li>1970 Network Information Center (NIC)</li>
<li>1971 Merit Network's packet-switched network operational</li>
<li>1971 Tymnet packet-switched network</li>
<li>1972 Internet Assigned Numbers Authority (IANA) established</li>
</ul>
</div>
</JqxPanel>
</template>
<script setup>
import JqxPanel from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpanel.vue';
</script>
|
|
scrollBarSize
# |
Number
|
17
|
Sets or gets the scrollbar's size.
<template>
<JqxPanel ref="myPanel" :width="250" :height="250" :scrollBarSize="20">
<div style="margin: 10px">
<h3>Early History of the Internet</h3>
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
<li>1970 Mark I network at NPL (UK)</li>
<li>1970 Network Information Center (NIC)</li>
<li>1971 Merit Network's packet-switched network operational</li>
<li>1971 Tymnet packet-switched network</li>
<li>1972 Internet Assigned Numbers Authority (IANA) established</li>
</ul>
</div>
</JqxPanel>
</template>
<script setup>
import JqxPanel from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpanel.vue';
</script>
|
|
theme
# |
String
|
''
|
Sets the widget's theme.
<template>
<JqxPanel ref="myPanel" :width="250" :height="250" :theme="'material'">
<div style="margin: 10px">
<h3>Early History of the Internet</h3>
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
<li>1970 Mark I network at NPL (UK)</li>
<li>1970 Network Information Center (NIC)</li>
<li>1971 Merit Network's packet-switched network operational</li>
<li>1971 Tymnet packet-switched network</li>
<li>1972 Internet Assigned Numbers Authority (IANA) established</li>
</ul>
</div>
</JqxPanel>
</template>
<script setup>
import JqxPanel from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpanel.vue';
</script>
|
|
width
# |
Number | String
|
null
|
Sets or gets the panel's width.
<template>
<JqxPanel ref="myPanel" :width="250" :height="250">
<div style="margin: 10px">
<h3>Early History of the Internet</h3>
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
<li>1970 Mark I network at NPL (UK)</li>
<li>1970 Network Information Center (NIC)</li>
<li>1971 Merit Network's packet-switched network operational</li>
<li>1971 Tymnet packet-switched network</li>
<li>1972 Internet Assigned Numbers Authority (IANA) established</li>
</ul>
</div>
</JqxPanel>
</template>
<script setup>
import JqxPanel from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpanel.vue';
</script>
|
|
|
|
|
| Name | Arguments | Return Type |
|
append
# |
HTMLElement
|
None
|
Appends an element to the panel's content.
<template>
<JqxPanel ref="myPanel" :width="250" :height="250">
<div style="margin: 10px">
<h3>Early History of the Internet</h3>
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
<li>1970 Mark I network at NPL (UK)</li>
<li>1970 Network Information Center (NIC)</li>
<li>1971 Merit Network's packet-switched network operational</li>
<li>1971 Tymnet packet-switched network</li>
<li>1972 Internet Assigned Numbers Authority (IANA) established</li>
</ul>
</div>
</JqxPanel>
</template>
<script setup>
import { onMounted, ref } from 'vue';
import JqxPanel from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpanel.vue';
const myPanel = ref(null);
onMounted(() => {
let div = document.createElement('div');
div.innerHTML = 'Custom Content';
myPanel.value.append(div);
});
</script>
|
|
clearcontent
# |
None
|
None
|
Clears the panel's content.
<template>
<JqxPanel ref="myPanel" :width="250" :height="250">
<div style="margin: 10px">
<h3>Early History of the Internet</h3>
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
<li>1970 Mark I network at NPL (UK)</li>
<li>1970 Network Information Center (NIC)</li>
<li>1971 Merit Network's packet-switched network operational</li>
<li>1971 Tymnet packet-switched network</li>
<li>1972 Internet Assigned Numbers Authority (IANA) established</li>
</ul>
</div>
</JqxPanel>
</template>
<script setup>
import { onMounted, ref } from 'vue';
import JqxPanel from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpanel.vue';
const myPanel = ref(null);
onMounted(() => {
myPanel.value.clearcontent();
});
</script>
|
|
destroy
# |
None
|
None
|
Destroys the widget.
<template>
<JqxPanel ref="myPanel" :width="250" :height="250">
<div style="margin: 10px">
<h3>Early History of the Internet</h3>
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
<li>1970 Mark I network at NPL (UK)</li>
<li>1970 Network Information Center (NIC)</li>
<li>1971 Merit Network's packet-switched network operational</li>
<li>1971 Tymnet packet-switched network</li>
<li>1972 Internet Assigned Numbers Authority (IANA) established</li>
</ul>
</div>
</JqxPanel>
</template>
<script setup>
import { onMounted, ref } from 'vue';
import JqxPanel from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpanel.vue';
const myPanel = ref(null);
onMounted(() => {
myPanel.value.destroy();
});
</script>
|
|
focus
# |
None
|
None
|
Focuses the widget.
<template>
<JqxPanel ref="myPanel" :width="250" :height="250">
<div style="margin: 10px">
<h3>Early History of the Internet</h3>
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
<li>1970 Mark I network at NPL (UK)</li>
<li>1970 Network Information Center (NIC)</li>
<li>1971 Merit Network's packet-switched network operational</li>
<li>1971 Tymnet packet-switched network</li>
<li>1972 Internet Assigned Numbers Authority (IANA) established</li>
</ul>
</div>
</JqxPanel>
</template>
<script setup>
import { onMounted, ref } from 'vue';
import JqxPanel from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpanel.vue';
const myPanel = ref(null);
onMounted(() => {
myPanel.value.focus();
});
</script>
|
|
getScrollHeight
# |
None
|
Number
|
Get the scrollable height. Returns a number.
<template>
<JqxPanel ref="myPanel" :width="250" :height="250">
<div style="margin: 10px">
<h3>Early History of the Internet</h3>
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
<li>1970 Mark I network at NPL (UK)</li>
<li>1970 Network Information Center (NIC)</li>
<li>1971 Merit Network's packet-switched network operational</li>
<li>1971 Tymnet packet-switched network</li>
<li>1972 Internet Assigned Numbers Authority (IANA) established</li>
</ul>
</div>
</JqxPanel>
</template>
<script setup>
import { onMounted, ref } from 'vue';
import JqxPanel from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpanel.vue';
const myPanel = ref(null);
onMounted(() => {
const value = myPanel.value.getScrollHeight();
});
</script>
|
|
getVScrollPosition
# |
None
|
Number
|
Get the vertical scrollbar's position. Returns a number.
<template>
<JqxPanel ref="myPanel" :width="250" :height="250">
<div style="margin: 10px">
<h3>Early History of the Internet</h3>
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
<li>1970 Mark I network at NPL (UK)</li>
<li>1970 Network Information Center (NIC)</li>
<li>1971 Merit Network's packet-switched network operational</li>
<li>1971 Tymnet packet-switched network</li>
<li>1972 Internet Assigned Numbers Authority (IANA) established</li>
</ul>
</div>
</JqxPanel>
</template>
<script setup>
import { onMounted, ref } from 'vue';
import JqxPanel from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpanel.vue';
const myPanel = ref(null);
onMounted(() => {
const value = myPanel.value.getVScrollPosition();
});
</script>
|
|
getScrollWidth
# |
None
|
Number
|
Get the scrollable width. Returns a number.
<template>
<JqxPanel ref="myPanel" :width="250" :height="250">
<div style="margin: 10px">
<h3>Early History of the Internet</h3>
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
<li>1970 Mark I network at NPL (UK)</li>
<li>1970 Network Information Center (NIC)</li>
<li>1971 Merit Network's packet-switched network operational</li>
<li>1971 Tymnet packet-switched network</li>
<li>1972 Internet Assigned Numbers Authority (IANA) established</li>
</ul>
</div>
</JqxPanel>
</template>
<script setup>
import { onMounted, ref } from 'vue';
import JqxPanel from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpanel.vue';
const myPanel = ref(null);
onMounted(() => {
const value = myPanel.value.getScrollWidth();
});
</script>
|
|
getHScrollPosition
# |
None
|
Number
|
Get the horizontal scrollbar's position. Returns a number.
<template>
<JqxPanel ref="myPanel" :width="250" :height="250">
<div style="margin: 10px">
<h3>Early History of the Internet</h3>
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
<li>1970 Mark I network at NPL (UK)</li>
<li>1970 Network Information Center (NIC)</li>
<li>1971 Merit Network's packet-switched network operational</li>
<li>1971 Tymnet packet-switched network</li>
<li>1972 Internet Assigned Numbers Authority (IANA) established</li>
</ul>
</div>
</JqxPanel>
</template>
<script setup>
import { onMounted, ref } from 'vue';
import JqxPanel from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpanel.vue';
const myPanel = ref(null);
onMounted(() => {
const value = myPanel.value.getHScrollPosition();
});
</script>
|
|
prepend
# |
HTMLElement
|
None
|
Prepends an element to the panel's content.
<template>
<JqxPanel ref="myPanel" :width="250" :height="250">
<div style="margin: 10px">
<h3>Early History of the Internet</h3>
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
<li>1970 Mark I network at NPL (UK)</li>
<li>1970 Network Information Center (NIC)</li>
<li>1971 Merit Network's packet-switched network operational</li>
<li>1971 Tymnet packet-switched network</li>
<li>1972 Internet Assigned Numbers Authority (IANA) established</li>
</ul>
</div>
</JqxPanel>
</template>
<script setup>
import { onMounted, ref } from 'vue';
import JqxPanel from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpanel.vue';
const myPanel = ref(null);
onMounted(() => {
let div = document.createElement('div');
div.innerHTML = 'Custom Content';
myPanel.value.prepend(div);
});
</script>
|
|
remove
# |
HTMLElement
|
None
|
Remove an element from the panel's content.
<template>
<JqxPanel ref="myPanel" :width="250" :height="250">
<div style="margin: 10px">
<h3>Early History of the Internet</h3>
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
<li>1970 Mark I network at NPL (UK)</li>
<li>1970 Network Information Center (NIC)</li>
<li>1971 Merit Network's packet-switched network operational</li>
<li>1971 Tymnet packet-switched network</li>
<li>1972 Internet Assigned Numbers Authority (IANA) established</li>
</ul>
</div>
</JqxPanel>
</template>
<script setup>
import { onMounted, ref } from 'vue';
import JqxPanel from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpanel.vue';
const myPanel = ref(null);
onMounted(() => {
myPanel.value.remove(document.querySelector('li'));
});
</script>
|
|
scrollTo
# |
left, top
|
None
|
Scroll to specific position.
<template>
<JqxPanel ref="myPanel" :width="250" :height="250">
<div style="margin: 10px">
<h3>Early History of the Internet</h3>
</div>
<div>
<ul>
<li>1961 First packet-switching papers</li>
<li>1966 Merit Network founded</li>
<li>1966 ARPANET planning starts</li>
<li>1969 ARPANET carries its first packets</li>
<li>1970 Mark I network at NPL (UK)</li>
<li>1970 Network Information Center (NIC)</li>
<li>1971 Merit Network's packet-switched network operational</li>
<li>1971 Tymnet packet-switched network</li>
<li>1972 Internet Assigned Numbers Authority (IANA) established</li>
</ul>
</div>
</JqxPanel>
</template>
<script setup>
import { onMounted, ref } from 'vue';
import JqxPanel from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxpanel.vue';
const myPanel = ref(null);
onMounted(() => {
myPanel.value.scrollTo(0, 20);
});
</script>
|