JavaScript
listObj.rowExpander Method
Syntax
listObj.rowExpander([rowNumber [, animationObject [, mode]]]);
Arguments
- rowNumbernumber
Zero based row number of item footer to show. If omitted, current row is used.
- animationObjectJSON object
A JSON object that defines animation settings. See below for example.
- modestring
Optional. Defaults to 'toggle'. Can be one of the following values:
- Option
- Description
- show
Show the List item footer.
- hide
Hide the List item footer.
- toggle
Default value. Toggles display of the footer. If the footer is shown, it will be hidden. If the footer is hidden, it will be shown.
Description
Toggle display of a List item footer.
Discussion
Used for List controls that have a 'List Item footer'. Allows you to set the visibility of the List item footer. You can optionally specify animation when the footer is shown/hidden.
var listObj = {dialog.object}.getControl('MYLIST1'); if (listObj) { listObj.rowExpander(); }
Here is an example of the animationObject.
var animationObj = { show: { type: 'scale', duration: 200, onComplete: function() { } }, hide: { type: 'slide', duration: 200, onComplete: function() { } } };