Name
Listview.Move -- move entry to new position
Synopsis
moai.DoMethod(id, "Move", from, to)
Function
Move the specified entry to a new position. Positions have to be passed as absolute values starting from 0 to Listview.Entries-1 or pass one of the following special values:

Top
Use first entry.

Active
Use active entry.

Bottom
Use last entry.

Next
Use next entry. This is only valid for the second parameter.

Previous
Use previous entry. This is only valid for the second parameter.

This method can only be used with non-sortable listviews because the item order in sortable listviews is fixed and determined solely by the entries in the column that currently has the sort focus.

Inputs
id
id of the listview object
from
number of the first entry
to
number of the second entry

Show TOC