XULTreeViewRecord.setSortColumn Member

set the default sort column and reSort.

Syntax

object.setSortColumn(colID, dir);

Arguments

ArgumentSummary
colID
dir

Returns

Remarks

See Also

Source Code

function xtvr_setcol (colID, dir)
{
//dd ("setting sort column to " + colID);
this._share.sortColumn = colID;
this._share.sortDirection = (typeof dir == "undefined") ? 1 : dir;
this.reSort();
}