rtLib — Notes Rich Text Management Library Documentation of rtLib — Notes Rich Text Management Library Download rtLib — Notes Rich Text Management Library FAQ of rtLib — Notes Rich Text Management Library Purchase rtLib — Notes Rich Text Management Library Feedback about rtLib — Notes Rich Text Management Library
rtTable

sort

Start searchMail feedback

rtTable


BeginInsert
BorderStyle As rtBorderStyle
Cells As rtCell
ColumnCount
Columns As rtColumn
ColumnSpacing
dropShadow
Flags
HTML
HTMLStyle As rtHtmlStyle
ID
LayoutStyle As rtTableStyle
parentParagraph
Parent
ParentContainer
ParentObject
root
RowCount
RowDisplayStyle As rtRowDisplayStyle
Rows As rtRow
RowSpacing
Style
TableID
useBorderColor
Values



addColumn As rtColumn
addRow As rtRow
cloneDesign As rtTable
Clear
EndInsert
getFirstElement
getLastElement
getNextElement
getPrevElement
getText
isNested
InsertColumn As rtColumn
InsertRow As rtRow
MergeCells
MergeTable
New
remove
removeColumn
removeRow
setAsTemplate
setStyle
sort
split As rtTable
splitCells
transpose

version 1.5

Sub sort (keys, alphanumeric, direction, head As Integer, sortemptybehind)

Sorts the table. The parameters - keys, alphanumeric and direction may be arrays in case sort is performed on several columns.

keys - either a single column number or an array of column numbers

alphanumeric - either single True (alphabetic)/False (numeric) value or an array - one for each column

direction - True (ascending)/False (descending)

head - number of header rows to exclude from sorting

sortemptybehind - True - empty cells are always at the end, False - sorts either first or last depending on "direction"

See cookbook sample.


Sort text (II) - bar chart Embedded Table Sort Table Sort