~~Title: OnAddColumns ~~
The **OnAddColumns** event is called to allow your [[:scripting:script_add-ins|script add-in]] to [[:scripting:example_scripts:adding_a_new_column|add columns]]. Call the **[[..:scripting_objects:addcoldata|AddColData]].AddColumn** method once for each column you wish to add.
$$ (#)**Method Name:**
$$ OnAddColumns
$$ (#)**Argument Type:**
$$ **[[..:scripting_objects:addcoldata|AddColData]]**
$$ (#)**Return Type:**
$$ //none//
$$ (#)**Description:**
$$ When Opus starts up, or when a script add-in is added, edited or enabled, its **OnAddColumns** method is called. This allows a script to [[:scripting:example_scripts:adding_a_new_column|add columns]] to Opus. A script can reinitialize its list of columns at any time by calling the **[[..:scripting_objects:script|Script]].InitColumns** method.