Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

DCS addCustomColumn: Difference between revisions

From Catglobe Wiki
Cg_pham (talk | contribs)
No edit summary
No edit summary
Line 1: Line 1:
[[Category:Data cache modifying CGScript functions]]
[[Category:Data cache modifying CGScript functions]]

{{HelpFiles}}


====DCS_addCustomColumn====
====DCS_addCustomColumn====

Revision as of 09:46, 12 December 2011



DCS_addCustomColumn

Adds the custom column passed as argument to the method.

The custom column is added to current data cache and a new axis with axis options, created based on the new column, is also added to the end of the axis-set. When the custom column is added a partial build will be triggered which will add the column to the current data cache.

The function returns false if there is a column with the same name existing, returns true otherwise.

Syntax

DCS_addCustomColumn(customColumn)

Arguments

customColumn: Is an array. It is the custom column created by CustomColumn_new function.

Return type

bool

Examples

DCS_addCustomColumn(myCustomColumn);

Availability

Version 5.5