AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Propiedades WLanguage / Propiedades de ventanas, páginas y controles
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Advertencia
A partir de la versión 26, LinksLineDetails se conserva por motivos de compatibilidad. Esta propiedad ha sido reemplazada por RowDetailsBinding.
The property LineDetailLinks property lets you identify and modify the data binding used to display line details in a Table field linked to a data file.
Reminder The details of a line are a "sub-table" displayed below the line when the user clicks [+] in front of the line or double-clicks on the line in the Table control.
Ejemplo
// Displays the orders when clicking the row displaying the customer
TABLE_CUSTOMER.RowDetailsBinding = "CUSTOMERID:ORDER.CUSTOMERID"
// Displays the city name when clicking the row displaying the customer
TABLE_CUSTOMER.RowDetailsBinding = "ZC:CITY.ZC:NAME"
// Displays the orders as well as the city and state when clicking the row displaying a customer 
TABLE_CUSTOMER.RowDetailsBinding = [
CUSTOMERID:ORDER.CUSTOMERID
ZC:CITY.ZC:NAME,STATE
]
Sintaxis

Identifying the data binding used to display the details of a row in a data-bound Table control Ocultar los detalles

<Result> = <data-bound Table control>.RowDetailsBinding
<Result>: Constant or character string
Current binding:
lldNoneNo binding was defined.
No detail is displayed in the data-bound Table control when clicking the "[+]" sign or when double-clicking the row.
lldAutomaticThe links defined in the analysis are used to find the data from the linked data files to be displayed.
If several data files are bound in the analysis, the user will be able to choose the file to display in the details via a context menu.
Character stringThe binding is customized. The detailed window displays the specified data.
This string has the following format:
ITEM:FILEA.ITEMA:DispItem1,DispItem2,DispItem3<CR>
ITEM2:FILEB.ITEMB
where:
  • ITEM,ITEM2 are the items found in the main search file of Table control,
  • FILEA,FILEB are the bound data files that will be displayed in detail,
  • ITEMA, ITEMB are the items bound to the ITEM, ITEM2 items in these files,
  • DispItem1, DispItem2, DispItem3 are the items found in FILEA that will be displayed in detail. If this element is not filled, all visible analysis items will be displayed.
For example, the line:
OrderRef:QRY_OrderLine.ParamOrderRef:VISUAL,REF,
CAPTION,UNITPRICE,QUANTITY,TOTALBT
binds the OrderRef item in the Table control to the ParamOrderRef item in the QRY_OrderLine query.
The items displayed in the detailed window are the VISUAL, REF, CAPTION, UNITPRICE, QUANTITY, TOTALBT items of query result.
<data-bound Table control>: Control name
Name of the data-bound Table control to be used.

Modifying the data binding used to display the details of a row in a data-bound Table control Ocultar los detalles

<data-bound Table control>.RowDetailsBinding = <New value>
<data-bound Table control>: Control name
Name of the data-bound Table control to be used.
<New value>: Constant or character string
New link:
lldNoneNo binding was defined.
No detail is displayed in the data-bound Table control when clicking the "[+]" sign or when double-clicking the row.
lldAutomaticThe links defined in the analysis are used to find the data from the linked data files to be displayed.
If several data files are bound in the analysis, the user will be able to choose the file to display in the details via a context menu.
Character stringThe binding is customized. The detailed window displays the specified data.
This string has the following format:
ITEM:FILEA.ITEMA:DispItem1,DispItem2,DispItem3<CR>
ITEM2:FILEB.ITEMB
where:
  • ITEM,ITEM2 are the items found in the main search file of Table control,
  • FILEA,FILEB are the bound data files that will be displayed in detail,
  • ITEMA, ITEMB are the items bound to the ITEM, ITEM2 items in these files,
  • DispItem1, DispItem2, DispItem3 are the items found in FILEA that will be displayed in detail. If this element is not filled, all visible analysis items will be displayed.
For example, the line:
OrderRef:QRY_OrderLine.ParamOrderRef:VISUAL,REF,
CAPTION,UNITPRICE,QUANTITY,TOTALBT
binds the OrderRef item in the Table control to the ParamOrderRef item in the QRY_OrderLine query.
The items displayed in the detailed window are the VISUAL, REF, CAPTION, UNITPRICE, QUANTITY, TOTALBT items of query result.
Versión mínima requerida
  • Versión 23
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 13/05/2025

Señalar un error o enviar una sugerencia | Ayuda local