summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.tabulator/-tabulator/add-column.html
blob: ff4bb5c9c08bfe67eb6151883a7d52bccf1bd56d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>Tabulator.addColumn - kvision</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.tabulator</a>&nbsp;/&nbsp;<a href="index.html">Tabulator</a>&nbsp;/&nbsp;<a href="./add-column.html">addColumn</a><br/>
<br/>
<h1>addColumn</h1>
<a name="pl.treksoft.kvision.tabulator.Tabulator$addColumn(pl.treksoft.kvision.tabulator.ColumnDefinition((pl.treksoft.kvision.tabulator.Tabulator.T)), kotlin.Boolean, kotlin.String)"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">addColumn</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.tabulator.Tabulator$addColumn(pl.treksoft.kvision.tabulator.ColumnDefinition((pl.treksoft.kvision.tabulator.Tabulator.T)), kotlin.Boolean, kotlin.String)/columnDefinition">columnDefinition</span><span class="symbol">:</span>&nbsp;<a href="../-column-definition/index.html"><span class="identifier">ColumnDefinition</span></a><span class="symbol">&lt;</span><a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.tabulator.Tabulator$addColumn(pl.treksoft.kvision.tabulator.ColumnDefinition((pl.treksoft.kvision.tabulator.Tabulator.T)), kotlin.Boolean, kotlin.String)/insertRightOfTarget">insertRightOfTarget</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.tabulator.Tabulator$addColumn(pl.treksoft.kvision.tabulator.ColumnDefinition((pl.treksoft.kvision.tabulator.Tabulator.T)), kotlin.Boolean, kotlin.String)/positionTarget">positionTarget</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code>
<p>Add new column to the tabulator.</p>
<h3>Parameters</h3>
<p><a name="columnDefinition"></a>
<code>columnDefinition</code> - column definition</p>
<p><a name="insertRightOfTarget"></a>
<code>insertRightOfTarget</code> - determines how to position the new column</p>
<p><a name="positionTarget"></a>
<code>positionTarget</code> - the field to insert the new column next to</p>
<a name="pl.treksoft.kvision.tabulator.Tabulator$addColumn(pl.treksoft.kvision.tabulator.js.Tabulator.ColumnDefinition, kotlin.Boolean, kotlin.String)"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">addColumn</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.tabulator.Tabulator$addColumn(pl.treksoft.kvision.tabulator.js.Tabulator.ColumnDefinition, kotlin.Boolean, kotlin.String)/columnDefinition">columnDefinition</span><span class="symbol">:</span>&nbsp;<a href="../../pl.treksoft.kvision.tabulator.js/-tabulator/-column-definition/index.html"><span class="identifier">Tabulator.ColumnDefinition</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.tabulator.Tabulator$addColumn(pl.treksoft.kvision.tabulator.js.Tabulator.ColumnDefinition, kotlin.Boolean, kotlin.String)/insertRightOfTarget">insertRightOfTarget</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.tabulator.Tabulator$addColumn(pl.treksoft.kvision.tabulator.js.Tabulator.ColumnDefinition, kotlin.Boolean, kotlin.String)/positionTarget">positionTarget</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code>
<p>Add new column to the tabulator.</p>
<h3>Parameters</h3>
<p><a name="columnDefinition"></a>
<code>columnDefinition</code> - column definition native object</p>
<p><a name="insertRightOfTarget"></a>
<code>insertRightOfTarget</code> - determines how to position the new column</p>
<p><a name="positionTarget"></a>
<code>positionTarget</code> - the field to insert the new column next to</p>
</BODY>
</HTML>