AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones Tabla
  • Example: Creating a Table control from the items in a data file
BuildBrowsingTable (Example)
Example: Creating a Table control from the items in a data file
The following example is used to dynamically create a Table control from the items in a data file while keeping the existing columns of the Table control in the window editor. Then, all the useless columns are made invisible.
IF bFirstCreation = True THEN
	// Creates the Table control and keeps the existing columns in the editor
	BuildBrowsingTable(TABLE_Table1, "Task", taKeepColumn)
END
// Hides the useless items
{"TABLE_TABLE1._COL3"}..Visible = False	// Status of the task
{"TABLE_TABLE1._COL6"}..Visible = False	// Order of the task
{"TABLE_TABLE1._COL7"}..Visible = False	// Editor link
{"TABLE_TABLE1._COL10"}..Visible = False  // Validation date
{"TABLE_TABLE1._COL11"}..Visible = False  // Validated by
// Resizes the column containing the caption of the task
{"TABLE_TABLE1._COL2"}..Width = 400	 // Caption of the task
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 29/11/2024

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