PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

  • Handling the table cells
  • Selecting a table element
  • Displaying the table description
  • Adding a cell or a column into a table
  • Adding a cell
  • Adding a column
  • Resizing a table cell
  • Moving a table column
  • Removing or deleting a column from a table
  • Removing a column from the table
  • Deleting a column from the table
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Handling the cells of report table
Handling the table cells
The table cells can be handled individually or via the table description.
The individual operations that can be performed on the table cells are as follows:
Note: All the types of controls available in the report editor can be displayed in a table column.
Selecting a table element
To select:
  • a table cell: click the cell once. The selection handles appear around the column cells.
  • a table column:
    • click a column cell twice successively. The selection handles appear around the column cells.
    • hover the header of the column and click when the cursor turns into a vertical black arrow (pointing down). The selection handles appear around the column cells.
  • a table row: hover the left side of the row and click when the cursor turns into an horizontal black arrow (pointing to the right). The selection handles appear around the row cells.
  • all the table cells: click a cell three times successively. The selection handles appear around all the table cells.

Displaying the table description

By default, when a double click is performed on a cell belonging to a table, the description window of cell is displayed.
To display the table description, perform one of the following actions:
  • select a cell and select "Table description" from the popup menu.
  • select a cell and select "Control .. Table .. Cell description".select a cell then, on the "Modification" pane, click the group icon of the "Table" group.
  • click a cell three times successively (all the table cells are selected) and double-click.
Adding a cell or a column into a table

Adding a cell

All the types of controls available in the report editor can be added into a table. These controls can:
  • replace an existing cell in the table.
  • be added to a column (a calculation added at the bottom of a column for example).
To add or replace a cell in a table:
  1. Select the control that must be added to the table.
  2. Select "Add to table" from the popup menu of control. A wizard starts.
  3. Select "Add to an existing column".
  4. Select the column where the addition must be performed as well as the position of the control in the column (header, data or total).
  5. Validate the addition of the cell.

Adding a column

You have the ability to add a column to a table. This new column may (or may not) correspond to an existing control.
To add an existing control into a table as column:
  1. Select the control.
  2. Possible choices:
    • "Drag and Drop" the control to the table. After confirmation, a new column is created after the existing columns. The description of the cells found in this new column corresponds to the initial control.
    • select "Add to table" from the popup menu of control. A wizard allows you to specify the characteristics of this new column.
To insert a new column:
  1. You can:
    • select "Insert a column" from the popup menu of the table.
    • select "Insert .. New column".on the "Creation" pane, in the "Structure" group, click "Table column".
  2. Enter the caption of the header for the new column.
  3. Select (if necessary) the item linked to the new column and validate the addition of the new column.
Resizing a table cell
The entire table is resized when a table cell is resized in the report editor.
Two cases may occur:
  • Modifying the width of a cell:
    All the cells found in the column will also be resized.
    All the columns found after the column currently resized will be moved.
Before the resize operation
After the resize operation
  • Modifying the height of a cell:
    All the table cells found on the same row will be resized.
Before the resize operation
After the resize operation
To resize a cell:
  1. Select the corresponding cell in the editor. Black handles appear around the cell.
  2. Hover the black handle corresponding to the side to resize. When the mouse cursor turns into a double arrow, keep the left mouse button down and resize the cell.
  3. Release the left mouse button. The resizing is performed.
Note: Border of the block and border of the cell
A cell can be stuck to a report block. In this case, when the cell is resized, the block will be automatically resized or not according to the cursor displayed.
The mouse cursor differs according to the element to resize:
  • a small double black arrow indicates that the cell is currently resized.
  • a large double blue arrow indicates that the block and the cell are currently resized.
Moving a table column
Moving the table columns consists in modifying the order in which the columns are displayed in the table.
Several methods can be used to move the table columns:
  • in the report currently modified: select a column cell and use the keyboard arrows (or select "Move to..." from the popup menu of the cell).
  • from the description window of the table: the arrow buttons are used to move the selected column.
  • "Drag and Drop" a column cell in the editor.
Removing or deleting a column from a table
A column found in a table can be:
  • removed from the table: the column cells are no longer associated with the table. These cells remain in the report and they can be handled independently of the table.
  • deleted: the cells are no longer present in the table nor in the report.

Removing a column from the table

To remove a column from the table:
  1. Select one of the cells in the column to delete (see Selecting a table cell).
  2. Use one of the following methods:
    • select "Remove from table" from the popup menu of the cell.
    • select "Control .. Table .. Remove from table".on the "Modification" pane, in the "Table" group, click "Remove from table". Note: If the column to remove is not located on the left extremity of the table, the report editor proposes to automatically move the column at the beginning of the table before removing it.
  3. The different cells found in the column are independent and they can be moved in the report.

Deleting a column from the table

To delete a column from the table:
  1. Select one of the cells in the column to delete: Column header or data control.
  2. Use one of the following methods:
    • press the [Del] key on the keyboard.
    • select "Delete" from the popup menu of the cell.
    • select "Control .. Table .. Delete column".on the "Modification" pane, in the "Table" group, click "Delete the column".
    • select "Delete" in the description window of the table.
  3. The column containing the cell is deleted from the table.
Note: If you select a cell that belongs to the total row, the column will not be deleted when this cell is deleted (only the cell will be deleted).
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment