summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.tabulator/tabulator.html
blob: 8814ae96a0fb9b60d23d89ded7dd0951a7f93902 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>tabulator - 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="./tabulator.html">tabulator</a><br/>
<br/>
<h1>tabulator</h1>
<a name="pl.treksoft.kvision.tabulator$tabulator(pl.treksoft.kvision.core.Container, kotlin.collections.List((pl.treksoft.kvision.tabulator.tabulator.T)), kotlin.Boolean, pl.treksoft.kvision.tabulator.TabulatorOptions((pl.treksoft.kvision.tabulator.tabulator.T)), kotlin.collections.Set((pl.treksoft.kvision.table.TableType)), kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.tabulator.Tabulator((pl.treksoft.kvision.tabulator.tabulator.T)), kotlin.Unit)))"></a>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">T</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">&gt;</span> <a href="../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">tabulator</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.tabulator$tabulator(pl.treksoft.kvision.core.Container, kotlin.collections.List((pl.treksoft.kvision.tabulator.tabulator.T)), kotlin.Boolean, pl.treksoft.kvision.tabulator.TabulatorOptions((pl.treksoft.kvision.tabulator.tabulator.T)), kotlin.collections.Set((pl.treksoft.kvision.table.TableType)), kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.tabulator.Tabulator((pl.treksoft.kvision.tabulator.tabulator.T)), kotlin.Unit)))/data">data</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol">&lt;</span><a href="tabulator.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.tabulator$tabulator(pl.treksoft.kvision.core.Container, kotlin.collections.List((pl.treksoft.kvision.tabulator.tabulator.T)), kotlin.Boolean, pl.treksoft.kvision.tabulator.TabulatorOptions((pl.treksoft.kvision.tabulator.tabulator.T)), kotlin.collections.Set((pl.treksoft.kvision.table.TableType)), kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.tabulator.Tabulator((pl.treksoft.kvision.tabulator.tabulator.T)), kotlin.Unit)))/dataUpdateOnEdit">dataUpdateOnEdit</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>&nbsp;<span class="symbol">=</span>&nbsp;true<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.tabulator$tabulator(pl.treksoft.kvision.core.Container, kotlin.collections.List((pl.treksoft.kvision.tabulator.tabulator.T)), kotlin.Boolean, pl.treksoft.kvision.tabulator.TabulatorOptions((pl.treksoft.kvision.tabulator.tabulator.T)), kotlin.collections.Set((pl.treksoft.kvision.table.TableType)), kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.tabulator.Tabulator((pl.treksoft.kvision.tabulator.tabulator.T)), kotlin.Unit)))/options">options</span><span class="symbol">:</span>&nbsp;<a href="-tabulator-options/index.html"><span class="identifier">TabulatorOptions</span></a><span class="symbol">&lt;</span><a href="tabulator.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</span>&nbsp;<span class="symbol">=</span>&nbsp;TabulatorOptions()<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.tabulator$tabulator(pl.treksoft.kvision.core.Container, kotlin.collections.List((pl.treksoft.kvision.tabulator.tabulator.T)), kotlin.Boolean, pl.treksoft.kvision.tabulator.TabulatorOptions((pl.treksoft.kvision.tabulator.tabulator.T)), kotlin.collections.Set((pl.treksoft.kvision.table.TableType)), kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.tabulator.Tabulator((pl.treksoft.kvision.tabulator.tabulator.T)), kotlin.Unit)))/types">types</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html"><span class="identifier">Set</span></a><span class="symbol">&lt;</span><a href="../pl.treksoft.kvision.table/-table-type/index.html"><span class="identifier">TableType</span></a><span class="symbol">&gt;</span>&nbsp;<span class="symbol">=</span>&nbsp;setOf()<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.tabulator$tabulator(pl.treksoft.kvision.core.Container, kotlin.collections.List((pl.treksoft.kvision.tabulator.tabulator.T)), kotlin.Boolean, pl.treksoft.kvision.tabulator.TabulatorOptions((pl.treksoft.kvision.tabulator.tabulator.T)), kotlin.collections.Set((pl.treksoft.kvision.table.TableType)), kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.tabulator.Tabulator((pl.treksoft.kvision.tabulator.tabulator.T)), kotlin.Unit)))/classes">classes</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html"><span class="identifier">Set</span></a><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">&gt;</span>&nbsp;<span class="symbol">=</span>&nbsp;setOf()<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.tabulator$tabulator(pl.treksoft.kvision.core.Container, kotlin.collections.List((pl.treksoft.kvision.tabulator.tabulator.T)), kotlin.Boolean, pl.treksoft.kvision.tabulator.TabulatorOptions((pl.treksoft.kvision.tabulator.tabulator.T)), kotlin.collections.Set((pl.treksoft.kvision.table.TableType)), kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.tabulator.Tabulator((pl.treksoft.kvision.tabulator.tabulator.T)), kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><a href="-tabulator/index.html"><span class="identifier">Tabulator</span></a><span class="symbol">&lt;</span><a href="tabulator.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</span><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="-tabulator/index.html"><span class="identifier">Tabulator</span></a><span class="symbol">&lt;</span><a href="tabulator.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</span></code>
<p>DSL builder extension function.</p>
<p>It takes the same parameters as the constructor of the built component.</p>
<a name="pl.treksoft.kvision.tabulator$tabulator(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.tabulator.tabulator.S)), kotlin.Function1((pl.treksoft.kvision.tabulator.tabulator.S, kotlin.collections.List((pl.treksoft.kvision.tabulator.tabulator.T)))), pl.treksoft.kvision.tabulator.TabulatorOptions((pl.treksoft.kvision.tabulator.tabulator.T)), kotlin.collections.Set((pl.treksoft.kvision.table.TableType)), kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.tabulator.Tabulator((pl.treksoft.kvision.tabulator.tabulator.T)), kotlin.Unit)))"></a>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">T</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="identifier">S</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">&gt;</span> <a href="../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">tabulator</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.tabulator$tabulator(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.tabulator.tabulator.S)), kotlin.Function1((pl.treksoft.kvision.tabulator.tabulator.S, kotlin.collections.List((pl.treksoft.kvision.tabulator.tabulator.T)))), pl.treksoft.kvision.tabulator.TabulatorOptions((pl.treksoft.kvision.tabulator.tabulator.T)), kotlin.collections.Set((pl.treksoft.kvision.table.TableType)), kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.tabulator.Tabulator((pl.treksoft.kvision.tabulator.tabulator.T)), kotlin.Unit)))/store">store</span><span class="symbol">:</span>&nbsp;<a href="../pl.treksoft.kvision.state/-observable-state/index.html"><span class="identifier">ObservableState</span></a><span class="symbol">&lt;</span><a href="tabulator.html#S"><span class="identifier">S</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.tabulator$tabulator(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.tabulator.tabulator.S)), kotlin.Function1((pl.treksoft.kvision.tabulator.tabulator.S, kotlin.collections.List((pl.treksoft.kvision.tabulator.tabulator.T)))), pl.treksoft.kvision.tabulator.TabulatorOptions((pl.treksoft.kvision.tabulator.tabulator.T)), kotlin.collections.Set((pl.treksoft.kvision.table.TableType)), kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.tabulator.Tabulator((pl.treksoft.kvision.tabulator.tabulator.T)), kotlin.Unit)))/dataFactory">dataFactory</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><a href="tabulator.html#S"><span class="identifier">S</span></a><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol">&lt;</span><a href="tabulator.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(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.tabulator.tabulator.S)), kotlin.Function1((pl.treksoft.kvision.tabulator.tabulator.S, kotlin.collections.List((pl.treksoft.kvision.tabulator.tabulator.T)))), pl.treksoft.kvision.tabulator.TabulatorOptions((pl.treksoft.kvision.tabulator.tabulator.T)), kotlin.collections.Set((pl.treksoft.kvision.table.TableType)), kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.tabulator.Tabulator((pl.treksoft.kvision.tabulator.tabulator.T)), kotlin.Unit)))/options">options</span><span class="symbol">:</span>&nbsp;<a href="-tabulator-options/index.html"><span class="identifier">TabulatorOptions</span></a><span class="symbol">&lt;</span><a href="tabulator.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</span>&nbsp;<span class="symbol">=</span>&nbsp;TabulatorOptions()<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.tabulator$tabulator(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.tabulator.tabulator.S)), kotlin.Function1((pl.treksoft.kvision.tabulator.tabulator.S, kotlin.collections.List((pl.treksoft.kvision.tabulator.tabulator.T)))), pl.treksoft.kvision.tabulator.TabulatorOptions((pl.treksoft.kvision.tabulator.tabulator.T)), kotlin.collections.Set((pl.treksoft.kvision.table.TableType)), kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.tabulator.Tabulator((pl.treksoft.kvision.tabulator.tabulator.T)), kotlin.Unit)))/types">types</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html"><span class="identifier">Set</span></a><span class="symbol">&lt;</span><a href="../pl.treksoft.kvision.table/-table-type/index.html"><span class="identifier">TableType</span></a><span class="symbol">&gt;</span>&nbsp;<span class="symbol">=</span>&nbsp;setOf()<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.tabulator$tabulator(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.tabulator.tabulator.S)), kotlin.Function1((pl.treksoft.kvision.tabulator.tabulator.S, kotlin.collections.List((pl.treksoft.kvision.tabulator.tabulator.T)))), pl.treksoft.kvision.tabulator.TabulatorOptions((pl.treksoft.kvision.tabulator.tabulator.T)), kotlin.collections.Set((pl.treksoft.kvision.table.TableType)), kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.tabulator.Tabulator((pl.treksoft.kvision.tabulator.tabulator.T)), kotlin.Unit)))/classes">classes</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html"><span class="identifier">Set</span></a><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">&gt;</span>&nbsp;<span class="symbol">=</span>&nbsp;setOf()<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.tabulator$tabulator(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.tabulator.tabulator.S)), kotlin.Function1((pl.treksoft.kvision.tabulator.tabulator.S, kotlin.collections.List((pl.treksoft.kvision.tabulator.tabulator.T)))), pl.treksoft.kvision.tabulator.TabulatorOptions((pl.treksoft.kvision.tabulator.tabulator.T)), kotlin.collections.Set((pl.treksoft.kvision.table.TableType)), kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.tabulator.Tabulator((pl.treksoft.kvision.tabulator.tabulator.T)), kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><a href="-tabulator/index.html"><span class="identifier">Tabulator</span></a><span class="symbol">&lt;</span><a href="tabulator.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</span><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="-tabulator/index.html"><span class="identifier">Tabulator</span></a><span class="symbol">&lt;</span><a href="tabulator.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</span></code>
<p>DSL builder extension function for general redux store.</p>
<a name="pl.treksoft.kvision.tabulator$tabulator(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.tabulator.TabulatorOptions((pl.treksoft.kvision.tabulator.tabulator.T)), kotlin.collections.Set((pl.treksoft.kvision.table.TableType)), kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.tabulator.Tabulator((pl.treksoft.kvision.tabulator.tabulator.T)), kotlin.Unit)))"></a>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">T</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">&gt;</span> <a href="../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">tabulator</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.tabulator$tabulator(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.tabulator.TabulatorOptions((pl.treksoft.kvision.tabulator.tabulator.T)), kotlin.collections.Set((pl.treksoft.kvision.table.TableType)), kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.tabulator.Tabulator((pl.treksoft.kvision.tabulator.tabulator.T)), kotlin.Unit)))/options">options</span><span class="symbol">:</span>&nbsp;<a href="-tabulator-options/index.html"><span class="identifier">TabulatorOptions</span></a><span class="symbol">&lt;</span><a href="tabulator.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</span>&nbsp;<span class="symbol">=</span>&nbsp;TabulatorOptions()<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.tabulator$tabulator(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.tabulator.TabulatorOptions((pl.treksoft.kvision.tabulator.tabulator.T)), kotlin.collections.Set((pl.treksoft.kvision.table.TableType)), kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.tabulator.Tabulator((pl.treksoft.kvision.tabulator.tabulator.T)), kotlin.Unit)))/types">types</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html"><span class="identifier">Set</span></a><span class="symbol">&lt;</span><a href="../pl.treksoft.kvision.table/-table-type/index.html"><span class="identifier">TableType</span></a><span class="symbol">&gt;</span>&nbsp;<span class="symbol">=</span>&nbsp;setOf()<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.tabulator$tabulator(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.tabulator.TabulatorOptions((pl.treksoft.kvision.tabulator.tabulator.T)), kotlin.collections.Set((pl.treksoft.kvision.table.TableType)), kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.tabulator.Tabulator((pl.treksoft.kvision.tabulator.tabulator.T)), kotlin.Unit)))/classes">classes</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html"><span class="identifier">Set</span></a><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">&gt;</span>&nbsp;<span class="symbol">=</span>&nbsp;setOf()<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.tabulator$tabulator(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.tabulator.TabulatorOptions((pl.treksoft.kvision.tabulator.tabulator.T)), kotlin.collections.Set((pl.treksoft.kvision.table.TableType)), kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.tabulator.Tabulator((pl.treksoft.kvision.tabulator.tabulator.T)), kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><a href="-tabulator/index.html"><span class="identifier">Tabulator</span></a><span class="symbol">&lt;</span><a href="tabulator.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</span><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="-tabulator/index.html"><span class="identifier">Tabulator</span></a><span class="symbol">&lt;</span><a href="tabulator.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</span></code>
<p>DSL builder extension function for dynamic data (send within options parameter).</p>
</BODY>
</HTML>