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");
Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.