|
|
|
|
|
- Managing a sorted TreeView Table control
<TreeView Table>.SortChild (Función) Sorts a branch in a TreeView Table control on one or more columns.
TABLEH_Produit.TrieFils(Null, "Désignation", "-Prix")
TABLEH_Produit.TrieFils("Plomberie" + TAB + "Robinets", "Désignation", "-Prix")
Sintaxis
Ordenar una rama en un control Tabla TreeView en una o más columnas identificadas por su nombre. Ocultar los detalles
<Result> = <TreeView Table control>.SortChild(<Branch to sort> , <Name of column 1> [, <Name of column 2> [... [, <Name of column N>]]])
<Result>: booleano - True if the sort was performed,
- False otherwise.
<TreeView Table control>: Nombre del control Name of the TreeView Table control to be used. <Branch to sort>: Entero o cadena de caracteres If this parameter is an integer, it corresponds to the index of the parent containing the branch to be sorted. If this parameter corresponds to NULL, the sort is performed on the "Root" elements. If this parameter corresponds to a character string, it corresponds to the parent element containing the branch to sort. <Name of column 1>: Cadena de caracteres Name of first column to sort (up to 16 columns). This parameter has the following format: "[<Direction>]<Column name>" where:- <Direction> (character) indicates the sort direction:
- "+": ascending sorting (default),
- "-": sorting in descending order.
- <Nom de la colonne> (string): name of column to sort.
<Name of column 2>: Cadena de caracteres opcional Name of the second column to sort (up to 16 columns). This parameter has the following format: "[<Direction>]<Column name>" where:- <Direction> (character) indicates the sort direction:
- "+": ascending sorting (default),
- "-": sorting in descending order.
- <Nom de la colonne> (string): name of column to sort.
<Name of column N>: Cadena de caracteres opcional Name of the Nth column to sort (up to 16 columns). This parameter has the following format: "[<Direction>]<Column name>" where:- <Direction> (character) indicates the sort direction:
- "+": ascending sorting (default),
- "-": sorting in descending order.
- <Nom de la colonne> (string): name of column to sort.
Observaciones Managing a sorted TreeView Table control - When a TreeView Table control is sorted by <TreeView Table>.SortChild, the additions performed by <Table>.Add, <Table>.AddLine, <TreeView Table>.AddChild, <Table>.Insert, <Table>.InsertLine or <TreeView Table>.InsertChild take the sort into account.
- When a TreeView Table control is sorted by clicking, the additions made by <Table>.Add, <Table>.AddLine, <TreeView Table>.AddChild, <Table>.Insert, <Table>.InsertLine or <TreeView Table>.InsertChild ignore the sort.
- The sort is not canceled by <Table>.Display, <Table>.Adjust, TableSearch, <Table>.Count, <Table>.Posición, <Table>.Select, <Table>.SelectMinus, <Table>.SelectPlus, <Table>.Delete and <Table>.DeleteAll.
- The sort is canceled:
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|