PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Example: Creating a table from the items found in a file
BuildBrowsingTable (Example)
Example: Creating a table from the items found in a file
The following example is used to dynamically create a table from the items found in a file while keeping the table columns described in the window editor. Then, all the useless columns are made invisible.
IF bFirstCreation = True THEN
// Creates the table and keeps the columns implemented 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
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment