ONLINE HELP WINDEV, WEBDEV AND WINDEV MOBILE
Version: 15161718192021222324252627
Moving to a specific position Hide the details
New index of the row that was moved.
Name of the Table control to be used.
Position of the row to move. This position must be between 1 and the number of rows in the Table control (returned by <Table>.Count or Count, for example).To move the row that is currently selected, use the rowSelected constant.
New row position. This position must be between 1 and the number of rows in the Table control (returned by <Table>.Count or Count, for example). A fatal error occurs if this parameter is not valid.To handle the row that is currently selected, use the rowSelected constant.
Change of position that will be performed for the row:amDisplayDestinationThe modified row is displayed in the Table control. An automatic scroll of the rows is performed if necessary to display the modified row in the Table control. The selected row (selection bar) is not modified.This constant can be combined with the amMove and amSwap constants. Table in Ajax mode: The modified row will always be displayed at the top of Table control.amMove(default value)The row is moved to the index of the destination row.amSwapThe source row and the destination row are swapped.
Moving relatively to the current position Hide the details
Position of the row to move. This position must be between 1 and the number of rows in the Table control (returned by <Table>.Count or Count, for example).To handle the row that is currently selected, use the rowSelected constant.
Used to move or a swap to a position relative to the index of the row to move.amFirstMoves the row to first position.amLastMoves the row to last position.amNextMoves the row one position downwards.amNextPageMoves the row one page to the bottom (a page corresponds to the number of rows that can be simultaneously displayed in the Table control).amPreviousMoves the row one position upwardsamPreviousPageMoves the row one page to the top (a page corresponds to the number of rows that can be simultaneously displayed in the Table control).If this parameter is invalid (amPrevious constant used on the first row of the Table control for example), the row is moved "to the nearest" position.
Use conditions
Multi-selection Table control
Horizontal Table control
Managing errors
Last update: 05/26/2022
Send a report | Local help
Searching...
I accept the terms of the license agreement
All you have to do is configure your product as follows: