HideColumn
This function will hide specified column in specified table.
The HideColumn function does not work when the table is displayed in form mode. In this case, you can use HideField in the table rule or in foreachrow loop
Syntax
HideColumn("tableName[>tableName>...]","fieldName");
Function arguments
- tableName – (String) The name of the table to in which the column should be hidden
- fieldName – (String) The name of the field in table, column with this field will be hidden
Return value
This function returns Boolean. This function always returns true
Examples
Example 1: This will hide column named 'Quantity’ in Orders table.
HideColumn("Orders","Quantity");
Example 2: This will hide column named 'Quantity’ in Positions table that is added inside Orders table.
HideColumn("Orders>Positions","Quantity");