animationType
|
string
|
'slide'
|
Sets or gets the animationType property.
<script src="~/jqwidgets/jqxexpander.js"></script> <script src="~/jqwidgets/jqxbuttons.js"></script>
<jqx-expander animation-type="fade" width="500" theme="@ViewData["Theme"]'> <jqx-expander-header>Header</jqx-expander-header> <jqx-expander-body> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 1</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 2</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 3</jqx-button>
|
arrowPosition
|
string
|
'left'
|
Sets or gets the arrowPosition property.
<script src="~/jqwidgets/jqxexpander.js"></script> <script src="~/jqwidgets/jqxbuttons.js"></script>
<jqx-expander arrow-position="left" width="500" theme="@ViewData["Theme"]'> <jqx-expander-header>Header</jqx-expander-header> <jqx-expander-body> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 1</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 2</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 3</jqx-button>
|
collapseAnimationDuration
|
int
|
400
|
Sets or gets the collapseAnimationDuration property.
<script src="~/jqwidgets/jqxexpander.js"></script> <script src="~/jqwidgets/jqxbuttons.js"></script>
<jqx-expander collapse-animation-duration="300" width="500" theme="@ViewData["Theme"]'> <jqx-expander-header>Header</jqx-expander-header> <jqx-expander-body> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 1</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 2</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 3</jqx-button>
|
disabled
|
bool
|
false
|
Sets or gets the disabled property.
<script src="~/jqwidgets/jqxexpander.js"></script> <script src="~/jqwidgets/jqxbuttons.js"></script>
<jqx-expander disabled="true" width="500" theme="@ViewData["Theme"]'> <jqx-expander-header>Header</jqx-expander-header> <jqx-expander-body> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 1</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 2</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 3</jqx-button>
|
expanded
|
bool
|
true
|
Sets or gets the expanded property.
<script src="~/jqwidgets/jqxexpander.js"></script> <script src="~/jqwidgets/jqxbuttons.js"></script>
<jqx-expander expanded="false" width="500" theme="@ViewData["Theme"]'> <jqx-expander-header>Header</jqx-expander-header> <jqx-expander-body> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 1</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 2</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 3</jqx-button>
|
expandAnimationDuration
|
int
|
400
|
Sets or gets the expandAnimationDuration property.
<script src="~/jqwidgets/jqxexpander.js"></script> <script src="~/jqwidgets/jqxbuttons.js"></script>
<jqx-expander expand-animation-duration="300" width="500" theme="@ViewData["Theme"]'> <jqx-expander-header>Header</jqx-expander-header> <jqx-expander-body> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 1</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 2</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 3</jqx-button>
|
height
|
int
|
'auto'
|
Sets or gets the height property.
<script src="~/jqwidgets/jqxexpander.js"></script> <script src="~/jqwidgets/jqxbuttons.js"></script>
<jqx-expander height="100" width="500" theme="@ViewData["Theme"]'> <jqx-expander-header>Header</jqx-expander-header> <jqx-expander-body> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 1</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 2</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 3</jqx-button>
|
headerPosition
|
string
|
'top'
|
Sets or gets the headerPosition property.
<script src="~/jqwidgets/jqxexpander.js"></script> <script src="~/jqwidgets/jqxbuttons.js"></script>
<jqx-expander header-position="bottom" width="500" theme="@ViewData["Theme"]'> <jqx-expander-header>Header</jqx-expander-header> <jqx-expander-body> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 1</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 2</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 3</jqx-button>
|
initContent
|
string
|
null
|
Sets or gets the initContent property.
<script src="~/jqwidgets/jqxexpander.js"></script> <script src="~/jqwidgets/jqxbuttons.js"></script>
<jqx-expander init-content="initContent" width="500" theme="@ViewData["Theme"]'> <jqx-expander-header>Header</jqx-expander-header> <jqx-expander-body> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 1</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 2</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 3</jqx-button>
|
rtl
|
bool
|
false
|
Sets or gets the rtl property.
<script src="~/jqwidgets/jqxexpander.js"></script> <script src="~/jqwidgets/jqxbuttons.js"></script>
<jqx-expander rtl="true" width="500" theme="@ViewData["Theme"]'> <jqx-expander-header>Header</jqx-expander-header> <jqx-expander-body> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 1</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 2</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 3</jqx-button>
|
showArrow
|
bool
|
true
|
Sets or gets the showArrow property.
<script src="~/jqwidgets/jqxexpander.js"></script> <script src="~/jqwidgets/jqxbuttons.js"></script>
<jqx-expander show-arrow="true" width="500" theme="@ViewData["Theme"]'> <jqx-expander-header>Header</jqx-expander-header> <jqx-expander-body> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 1</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 2</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 3</jqx-button>
|
theme
|
string
|
''
|
Sets or gets the theme property.
<script src="~/jqwidgets/jqxexpander.js"></script> <script src="~/jqwidgets/jqxbuttons.js"></script>
<jqx-expander theme="energyblue" width="500" theme="@ViewData["Theme"]'> <jqx-expander-header>Header</jqx-expander-header> <jqx-expander-body> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 1</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 2</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 3</jqx-button>
|
toggleMode
|
string
|
'click'
|
Sets or gets the toggleMode property.
<script src="~/jqwidgets/jqxexpander.js"></script> <script src="~/jqwidgets/jqxbuttons.js"></script>
<jqx-expander toggle-mode="none" width="500" theme="@ViewData["Theme"]'> <jqx-expander-header>Header</jqx-expander-header> <jqx-expander-body> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 1</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 2</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 3</jqx-button>
|
width
|
int
|
'auto'
|
Sets or gets the width property.
<script src="~/jqwidgets/jqxexpander.js"></script> <script src="~/jqwidgets/jqxbuttons.js"></script>
<jqx-expander width="300" width="500" theme="@ViewData["Theme"]'> <jqx-expander-header>Header</jqx-expander-header> <jqx-expander-body> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 1</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 2</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 3</jqx-button>
|
|
collapsing
|
Event
|
|
Code examples
Bind to the collapsing event of jqxExpander.
<script src="~/jqwidgets/jqxexpander.js"></script> <script src="~/jqwidgets/jqxbuttons.js"></script>
<jqx-expander on-collapsing="eventHandler()" width="500" theme="@ViewData["Theme"]'> <jqx-expander-header>Header</jqx-expander-header> <jqx-expander-body> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 1</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 2</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 3</jqx-button> </jqx-expander-body></jqx-expander> @section scripts { <script type="text/javascript"> function eventHandler(event) {
|
collapsed
|
Event
|
|
Code examples
Bind to the collapsed event of jqxExpander.
<script src="~/jqwidgets/jqxexpander.js"></script> <script src="~/jqwidgets/jqxbuttons.js"></script>
<jqx-expander on-collapsed="eventHandler()" width="500" theme="@ViewData["Theme"]'> <jqx-expander-header>Header</jqx-expander-header> <jqx-expander-body> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 1</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 2</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 3</jqx-button> </jqx-expander-body></jqx-expander> @section scripts { <script type="text/javascript"> function eventHandler(event) {
|
expanding
|
Event
|
|
Code examples
Bind to the expanding event of jqxExpander.
<script src="~/jqwidgets/jqxexpander.js"></script> <script src="~/jqwidgets/jqxbuttons.js"></script>
<jqx-expander on-expanding="eventHandler()" width="500" theme="@ViewData["Theme"]'> <jqx-expander-header>Header</jqx-expander-header> <jqx-expander-body> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 1</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 2</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 3</jqx-button> </jqx-expander-body></jqx-expander> @section scripts { <script type="text/javascript"> function eventHandler(event) {
|
expanded
|
Event
|
|
Code examples
Bind to the expanded event of jqxExpander.
<script src="~/jqwidgets/jqxexpander.js"></script> <script src="~/jqwidgets/jqxbuttons.js"></script>
<jqx-expander on-expanded="eventHandler()" width="500" theme="@ViewData["Theme"]'> <jqx-expander-header>Header</jqx-expander-header> <jqx-expander-body> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 1</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 2</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 3</jqx-button> </jqx-expander-body></jqx-expander> @section scripts { <script type="text/javascript"> function eventHandler(event) {
|
|
collapse
|
Method
|
|
<script src="~/jqwidgets/jqxexpander.js"></script> <script src="~/jqwidgets/jqxbuttons.js"></script>
<jqx-expander instance="getInstance()" width="500" theme="@ViewData["Theme"]'> <jqx-expander-header>Header</jqx-expander-header> <jqx-expander-body> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 1</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 2</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 3</jqx-button> </jqx-expander-body></jqx-expander> @section scripts { <script type="text/javascript"> function getInstance(instance) {
|
disable
|
Method
|
|
<script src="~/jqwidgets/jqxexpander.js"></script> <script src="~/jqwidgets/jqxbuttons.js"></script>
<jqx-expander instance="getInstance()" width="500" theme="@ViewData["Theme"]'> <jqx-expander-header>Header</jqx-expander-header> <jqx-expander-body> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 1</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 2</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 3</jqx-button> </jqx-expander-body></jqx-expander> @section scripts { <script type="text/javascript"> function getInstance(instance) {
|
destroy
|
Method
|
|
<script src="~/jqwidgets/jqxexpander.js"></script> <script src="~/jqwidgets/jqxbuttons.js"></script>
<jqx-expander instance="getInstance()" width="500" theme="@ViewData["Theme"]'> <jqx-expander-header>Header</jqx-expander-header> <jqx-expander-body> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 1</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 2</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 3</jqx-button> </jqx-expander-body></jqx-expander> @section scripts { <script type="text/javascript"> function getInstance(instance) {
|
enable
|
Method
|
|
<script src="~/jqwidgets/jqxexpander.js"></script> <script src="~/jqwidgets/jqxbuttons.js"></script>
<jqx-expander instance="getInstance()" width="500" theme="@ViewData["Theme"]'> <jqx-expander-header>Header</jqx-expander-header> <jqx-expander-body> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 1</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 2</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 3</jqx-button> </jqx-expander-body></jqx-expander> @section scripts { <script type="text/javascript"> function getInstance(instance) {
|
expand
|
Method
|
|
<script src="~/jqwidgets/jqxexpander.js"></script> <script src="~/jqwidgets/jqxbuttons.js"></script>
<jqx-expander instance="getInstance()" width="500" theme="@ViewData["Theme"]'> <jqx-expander-header>Header</jqx-expander-header> <jqx-expander-body> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 1</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 2</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 3</jqx-button> </jqx-expander-body></jqx-expander> @section scripts { <script type="text/javascript"> function getInstance(instance) {
|
focus
|
Method
|
|
<script src="~/jqwidgets/jqxexpander.js"></script> <script src="~/jqwidgets/jqxbuttons.js"></script>
<jqx-expander instance="getInstance()" width="500" theme="@ViewData["Theme"]'> <jqx-expander-header>Header</jqx-expander-header> <jqx-expander-body> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 1</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 2</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 3</jqx-button> </jqx-expander-body></jqx-expander> @section scripts { <script type="text/javascript"> function getInstance(instance) {
|
getContent
|
Method
|
|
<script src="~/jqwidgets/jqxexpander.js"></script> <script src="~/jqwidgets/jqxbuttons.js"></script>
<jqx-expander instance="getInstance()" width="500" theme="@ViewData["Theme"]'> <jqx-expander-header>Header</jqx-expander-header> <jqx-expander-body> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 1</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 2</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 3</jqx-button> </jqx-expander-body></jqx-expander> @section scripts { <script type="text/javascript"> function getInstance(instance) { var result = instance[ "getContent"]();
|
getHeaderContent
|
Method
|
|
<script src="~/jqwidgets/jqxexpander.js"></script> <script src="~/jqwidgets/jqxbuttons.js"></script>
<jqx-expander instance="getInstance()" width="500" theme="@ViewData["Theme"]'> <jqx-expander-header>Header</jqx-expander-header> <jqx-expander-body> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 1</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 2</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 3</jqx-button> </jqx-expander-body></jqx-expander> @section scripts { <script type="text/javascript"> function getInstance(instance) { var result = instance[ "getHeaderContent"]();
|
invalidate
|
Method
|
|
<script src="~/jqwidgets/jqxexpander.js"></script> <script src="~/jqwidgets/jqxbuttons.js"></script>
<jqx-expander instance="getInstance()" width="500" theme="@ViewData["Theme"]'> <jqx-expander-header>Header</jqx-expander-header> <jqx-expander-body> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 1</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 2</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 3</jqx-button> </jqx-expander-body></jqx-expander> @section scripts { <script type="text/javascript"> function getInstance(instance) { instance[ "invalidate"]();
|
refresh
|
Method
|
|
<script src="~/jqwidgets/jqxexpander.js"></script> <script src="~/jqwidgets/jqxbuttons.js"></script>
<jqx-expander instance="getInstance()" width="500" theme="@ViewData["Theme"]'> <jqx-expander-header>Header</jqx-expander-header> <jqx-expander-body> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 1</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 2</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 3</jqx-button> </jqx-expander-body></jqx-expander> @section scripts { <script type="text/javascript"> function getInstance(instance) {
|
render
|
Method
|
|
<script src="~/jqwidgets/jqxexpander.js"></script> <script src="~/jqwidgets/jqxbuttons.js"></script>
<jqx-expander instance="getInstance()" width="500" theme="@ViewData["Theme"]'> <jqx-expander-header>Header</jqx-expander-header> <jqx-expander-body> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 1</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 2</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 3</jqx-button> </jqx-expander-body></jqx-expander> @section scripts { <script type="text/javascript"> function getInstance(instance) {
|
setHeaderContent
|
Method
|
|
<script src="~/jqwidgets/jqxexpander.js"></script> <script src="~/jqwidgets/jqxbuttons.js"></script>
<jqx-expander instance="getInstance()" width="500" theme="@ViewData["Theme"]'> <jqx-expander-header>Header</jqx-expander-header> <jqx-expander-body> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 1</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 2</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 3</jqx-button> </jqx-expander-body></jqx-expander> @section scripts { <script type="text/javascript"> function getInstance(instance) { instance[ "setHeaderContent"]( 'header');
|
setContent
|
Method
|
|
<script src="~/jqwidgets/jqxexpander.js"></script> <script src="~/jqwidgets/jqxbuttons.js"></script>
<jqx-expander instance="getInstance()" width="500" theme="@ViewData["Theme"]'> <jqx-expander-header>Header</jqx-expander-header> <jqx-expander-body> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 1</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 2</jqx-button> <jqx-button style="margin:5px;" theme="@ViewData["Theme"]'>Button 3</jqx-button> </jqx-expander-body></jqx-expander> @section scripts { <script type="text/javascript"> function getInstance(instance) { instance[ "setContent"]( 'content');
|