uploadPane.sortOrder Property HTML5/Flash Uploader JavaScript

Supported technologies:

Gets or sets a value specifying whether items should be sorted ascendantly or descendantly when you use sortMode is used.

Syntax

JavaScript Initialize
$au.imageUploaderFlash({
    uploadPane: {
        //...other params...
        sortOrder: "Asc",
        //...other params...
    }
})
Get/Set Value at Runtime
$au.imageUploaderFlash('uploaderID').uploadPane().sortOrder(value);
value = $au.imageUploaderFlash('uploaderID').uploadPane().sortOrder();

Property Value

Type: String

The sort direction for the upload pane.

The following values are supported:

ValueDescription
AscItems are sorted ascendantly (smallest to largest).
DescItems are sorted descendantly (largest to smallest).

Default value is "Asc".

Remarks

Items are automatically arranged when they are added to the upload list. You can use the sort(String, String) method to force items to be sorted with the required mode and order.

See Also

Reference