summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.tabulator/-tabulator/create.html
blob: 7bf8178caa709c760127c14cb3fa1bae1a896477 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>Tabulator.create - 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="./create.html">create</a><br/>
<br/>
<h1>create</h1>
<a name="pl.treksoft.kvision.tabulator.Tabulator.Companion$create(kotlin.collections.List((pl.treksoft.kvision.tabulator.Tabulator.Companion.create.T)), kotlin.Boolean, pl.treksoft.kvision.tabulator.TabulatorOptions((pl.treksoft.kvision.tabulator.Tabulator.Companion.create.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.Companion.create.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> <span class="identifier">create</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.tabulator.Tabulator.Companion$create(kotlin.collections.List((pl.treksoft.kvision.tabulator.Tabulator.Companion.create.T)), kotlin.Boolean, pl.treksoft.kvision.tabulator.TabulatorOptions((pl.treksoft.kvision.tabulator.Tabulator.Companion.create.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.Companion.create.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="create.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.Companion$create(kotlin.collections.List((pl.treksoft.kvision.tabulator.Tabulator.Companion.create.T)), kotlin.Boolean, pl.treksoft.kvision.tabulator.TabulatorOptions((pl.treksoft.kvision.tabulator.Tabulator.Companion.create.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.Companion.create.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.Companion$create(kotlin.collections.List((pl.treksoft.kvision.tabulator.Tabulator.Companion.create.T)), kotlin.Boolean, pl.treksoft.kvision.tabulator.TabulatorOptions((pl.treksoft.kvision.tabulator.Tabulator.Companion.create.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.Companion.create.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="create.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.Companion$create(kotlin.collections.List((pl.treksoft.kvision.tabulator.Tabulator.Companion.create.T)), kotlin.Boolean, pl.treksoft.kvision.tabulator.TabulatorOptions((pl.treksoft.kvision.tabulator.Tabulator.Companion.create.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.Companion.create.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.Companion$create(kotlin.collections.List((pl.treksoft.kvision.tabulator.Tabulator.Companion.create.T)), kotlin.Boolean, pl.treksoft.kvision.tabulator.TabulatorOptions((pl.treksoft.kvision.tabulator.Tabulator.Companion.create.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.Companion.create.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.Companion$create(kotlin.collections.List((pl.treksoft.kvision.tabulator.Tabulator.Companion.create.T)), kotlin.Boolean, pl.treksoft.kvision.tabulator.TabulatorOptions((pl.treksoft.kvision.tabulator.Tabulator.Companion.create.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.Companion.create.T)), kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><a href="index.html"><span class="identifier">Tabulator</span></a><span class="symbol">&lt;</span><a href="create.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="index.html"><span class="identifier">Tabulator</span></a><span class="symbol">&lt;</span><a href="create.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</span></code>
<p>A helper function to create a Tabulator object with correct serializer.</p>
<a name="pl.treksoft.kvision.tabulator.Tabulator.Companion$create(pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.tabulator.Tabulator.Companion.create.S)), kotlin.Function1((pl.treksoft.kvision.tabulator.Tabulator.Companion.create.S, kotlin.collections.List((pl.treksoft.kvision.tabulator.Tabulator.Companion.create.T)))), pl.treksoft.kvision.tabulator.TabulatorOptions((pl.treksoft.kvision.tabulator.Tabulator.Companion.create.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.Companion.create.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> <span class="identifier">create</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.tabulator.Tabulator.Companion$create(pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.tabulator.Tabulator.Companion.create.S)), kotlin.Function1((pl.treksoft.kvision.tabulator.Tabulator.Companion.create.S, kotlin.collections.List((pl.treksoft.kvision.tabulator.Tabulator.Companion.create.T)))), pl.treksoft.kvision.tabulator.TabulatorOptions((pl.treksoft.kvision.tabulator.Tabulator.Companion.create.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.Companion.create.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="create.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.Companion$create(pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.tabulator.Tabulator.Companion.create.S)), kotlin.Function1((pl.treksoft.kvision.tabulator.Tabulator.Companion.create.S, kotlin.collections.List((pl.treksoft.kvision.tabulator.Tabulator.Companion.create.T)))), pl.treksoft.kvision.tabulator.TabulatorOptions((pl.treksoft.kvision.tabulator.Tabulator.Companion.create.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.Companion.create.T)), kotlin.Unit)))/dataFactory">dataFactory</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><a href="create.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="create.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.Companion$create(pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.tabulator.Tabulator.Companion.create.S)), kotlin.Function1((pl.treksoft.kvision.tabulator.Tabulator.Companion.create.S, kotlin.collections.List((pl.treksoft.kvision.tabulator.Tabulator.Companion.create.T)))), pl.treksoft.kvision.tabulator.TabulatorOptions((pl.treksoft.kvision.tabulator.Tabulator.Companion.create.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.Companion.create.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="create.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.Companion$create(pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.tabulator.Tabulator.Companion.create.S)), kotlin.Function1((pl.treksoft.kvision.tabulator.Tabulator.Companion.create.S, kotlin.collections.List((pl.treksoft.kvision.tabulator.Tabulator.Companion.create.T)))), pl.treksoft.kvision.tabulator.TabulatorOptions((pl.treksoft.kvision.tabulator.Tabulator.Companion.create.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.Companion.create.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.Companion$create(pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.tabulator.Tabulator.Companion.create.S)), kotlin.Function1((pl.treksoft.kvision.tabulator.Tabulator.Companion.create.S, kotlin.collections.List((pl.treksoft.kvision.tabulator.Tabulator.Companion.create.T)))), pl.treksoft.kvision.tabulator.TabulatorOptions((pl.treksoft.kvision.tabulator.Tabulator.Companion.create.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.Companion.create.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.Companion$create(pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.tabulator.Tabulator.Companion.create.S)), kotlin.Function1((pl.treksoft.kvision.tabulator.Tabulator.Companion.create.S, kotlin.collections.List((pl.treksoft.kvision.tabulator.Tabulator.Companion.create.T)))), pl.treksoft.kvision.tabulator.TabulatorOptions((pl.treksoft.kvision.tabulator.Tabulator.Companion.create.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.Companion.create.T)), kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><a href="index.html"><span class="identifier">Tabulator</span></a><span class="symbol">&lt;</span><a href="create.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="index.html"><span class="identifier">Tabulator</span></a><span class="symbol">&lt;</span><a href="create.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</span></code>
<p>A helper function to create a Tabulator object with correct serializer and general redux store.</p>
</BODY>
</HTML>