Print

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");
Czy artykuł był pomocny?
0 na 5 gwiazdek
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
How Can We Improve This Article?