CustomColumn removeOption

From Catglobe Wiki
Revision as of 10:46, 12 December 2011 by Cg huyphong (talk | contribs)
Jump to: navigation, search



CustomColumn_removeOption

Removes the custom column option with the option index, passed as argument to the method, from the custom column. Returns false if there is no option with the specified index existing, returns true otherwise.

Syntax

CustomColumn_removeOption(customColumn, optionIndex)

Arguments

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

optionIndex: Is a numeric expression. It is the index of the option returned by CustomColumn_addOption function.

Return type

Boolean

Examples

CustomColumn_removeOption(myCustomColumn, 0);

Availability

Version 5.5