diff options
author | Robert Jaros <rjaros@finn.pl> | 2020-01-02 01:18:22 +0100 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2020-01-02 01:18:22 +0100 |
commit | a8c0bcfc2cbd8cc256331b4908b0ca3f8c43aef9 (patch) | |
tree | 86a7480549d3920adcec29c729da308c7be2e325 /api/pl.treksoft.kvision.tabulator | |
parent | 9d35bb1e3d8186228cc409faa6d681624f20e9cd (diff) | |
download | kvision-a8c0bcfc2cbd8cc256331b4908b0ca3f8c43aef9.tar.gz kvision-a8c0bcfc2cbd8cc256331b4908b0ca3f8c43aef9.tar.bz2 kvision-a8c0bcfc2cbd8cc256331b4908b0ca3f8c43aef9.zip |
API documentation for KVision 2.7.0
Diffstat (limited to 'api/pl.treksoft.kvision.tabulator')
10 files changed, 231 insertions, 0 deletions
diff --git a/api/pl.treksoft.kvision.tabulator/-download-set/-a-c-t-i-v-e.html b/api/pl.treksoft.kvision.tabulator/-download-set/-a-c-t-i-v-e.html new file mode 100644 index 00000000..ab294a16 --- /dev/null +++ b/api/pl.treksoft.kvision.tabulator/-download-set/-a-c-t-i-v-e.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>DownloadSet.ACTIVE - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.tabulator</a> / <a href="index.html">DownloadSet</a> / <a href="./-a-c-t-i-v-e.html">ACTIVE</a><br/> +<br/> +<h1>ACTIVE</h1> +<a name="pl.treksoft.kvision.tabulator.DownloadSet.ACTIVE"></a> +<code><span class="identifier">ACTIVE</span></code> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.tabulator/-download-set/-a-l-l.html b/api/pl.treksoft.kvision.tabulator/-download-set/-a-l-l.html new file mode 100644 index 00000000..3005bf7b --- /dev/null +++ b/api/pl.treksoft.kvision.tabulator/-download-set/-a-l-l.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>DownloadSet.ALL - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.tabulator</a> / <a href="index.html">DownloadSet</a> / <a href="./-a-l-l.html">ALL</a><br/> +<br/> +<h1>ALL</h1> +<a name="pl.treksoft.kvision.tabulator.DownloadSet.ALL"></a> +<code><span class="identifier">ALL</span></code> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.tabulator/-download-set/-v-i-s-i-b-l-e.html b/api/pl.treksoft.kvision.tabulator/-download-set/-v-i-s-i-b-l-e.html new file mode 100644 index 00000000..693175a9 --- /dev/null +++ b/api/pl.treksoft.kvision.tabulator/-download-set/-v-i-s-i-b-l-e.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>DownloadSet.VISIBLE - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.tabulator</a> / <a href="index.html">DownloadSet</a> / <a href="./-v-i-s-i-b-l-e.html">VISIBLE</a><br/> +<br/> +<h1>VISIBLE</h1> +<a name="pl.treksoft.kvision.tabulator.DownloadSet.VISIBLE"></a> +<code><span class="identifier">VISIBLE</span></code> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.tabulator/-download-set/index.html b/api/pl.treksoft.kvision.tabulator/-download-set/index.html new file mode 100644 index 00000000..a2de505e --- /dev/null +++ b/api/pl.treksoft.kvision.tabulator/-download-set/index.html @@ -0,0 +1,54 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>DownloadSet - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.tabulator</a> / <a href="./index.html">DownloadSet</a><br/> +<br/> +<h1>DownloadSet</h1> +<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">DownloadSet</span></code> +<p>Tabulator download data set option.</p> +<h3>Enum Values</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-a-l-l.html">ALL</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-v-i-s-i-b-l-e.html">VISIBLE</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-a-c-t-i-v-e.html">ACTIVE</a></p> +</td> +<td> +</td> +</tr> +</tbody> +</table> +<h3>Extension Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html">createInstance</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span> <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="symbol">.</span><span class="identifier">createInstance</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="pl.treksoft.kvision.utils$createInstance(kotlin.Any, kotlin.Array((kotlin.Any)))/args">args</span><span class="symbol">:</span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html#T"><span class="identifier">T</span></a></code> +<p>Helper function for creating JavaScript objects from dynamic constructors.</p> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.tabulator/-tabulator-remote/index.html b/api/pl.treksoft.kvision.tabulator/-tabulator-remote/index.html index ac6446c0..7d6c42c1 100644 --- a/api/pl.treksoft.kvision.tabulator/-tabulator-remote/index.html +++ b/api/pl.treksoft.kvision.tabulator/-tabulator-remote/index.html @@ -184,6 +184,33 @@ </tr> <tr> <td> +<p><a href="../-tabulator/download-c-s-v.html">downloadCSV</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">downloadCSV</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.tabulator.Tabulator$downloadCSV(kotlin.String, pl.treksoft.kvision.tabulator.DownloadSet, kotlin.Char, kotlin.Boolean, kotlin.Boolean)/fileName">fileName</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.tabulator.Tabulator$downloadCSV(kotlin.String, pl.treksoft.kvision.tabulator.DownloadSet, kotlin.Char, kotlin.Boolean, kotlin.Boolean)/dataSet">dataSet</span><span class="symbol">:</span> <a href="../-download-set/index.html"><span class="identifier">DownloadSet</span></a> <span class="symbol">=</span> DownloadSet.ACTIVE<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.tabulator.Tabulator$downloadCSV(kotlin.String, pl.treksoft.kvision.tabulator.DownloadSet, kotlin.Char, kotlin.Boolean, kotlin.Boolean)/delimiter">delimiter</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-char/index.html"><span class="identifier">Char</span></a> <span class="symbol">=</span> ','<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.tabulator.Tabulator$downloadCSV(kotlin.String, pl.treksoft.kvision.tabulator.DownloadSet, kotlin.Char, kotlin.Boolean, kotlin.Boolean)/includeBOM">includeBOM</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.tabulator.Tabulator$downloadCSV(kotlin.String, pl.treksoft.kvision.tabulator.DownloadSet, kotlin.Char, kotlin.Boolean, kotlin.Boolean)/newTab">newTab</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<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><span class="symbol">?</span></code> +<p>Download the table content as CSV</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tabulator/download-h-t-m-l.html">downloadHTML</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">downloadHTML</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.tabulator.Tabulator$downloadHTML(kotlin.String, pl.treksoft.kvision.tabulator.DownloadSet, kotlin.Boolean, kotlin.Boolean)/fileName">fileName</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.tabulator.Tabulator$downloadHTML(kotlin.String, pl.treksoft.kvision.tabulator.DownloadSet, kotlin.Boolean, kotlin.Boolean)/dataSet">dataSet</span><span class="symbol">:</span> <a href="../-download-set/index.html"><span class="identifier">DownloadSet</span></a> <span class="symbol">=</span> DownloadSet.ACTIVE<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.tabulator.Tabulator$downloadHTML(kotlin.String, pl.treksoft.kvision.tabulator.DownloadSet, kotlin.Boolean, kotlin.Boolean)/style">style</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.tabulator.Tabulator$downloadHTML(kotlin.String, pl.treksoft.kvision.tabulator.DownloadSet, kotlin.Boolean, kotlin.Boolean)/newTab">newTab</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<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><span class="symbol">?</span></code> +<p>Download the table content as HTML</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tabulator/download-j-s-o-n.html">downloadJSON</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">downloadJSON</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.tabulator.Tabulator$downloadJSON(kotlin.String, pl.treksoft.kvision.tabulator.DownloadSet, kotlin.Boolean)/fileName">fileName</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.tabulator.Tabulator$downloadJSON(kotlin.String, pl.treksoft.kvision.tabulator.DownloadSet, kotlin.Boolean)/dataSet">dataSet</span><span class="symbol">:</span> <a href="../-download-set/index.html"><span class="identifier">DownloadSet</span></a> <span class="symbol">=</span> DownloadSet.ACTIVE<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.tabulator.Tabulator$downloadJSON(kotlin.String, pl.treksoft.kvision.tabulator.DownloadSet, kotlin.Boolean)/newTab">newTab</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<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><span class="symbol">?</span></code> +<p>Download the table content as JSON</p> +</td> +</tr> +<tr> +<td> <p><a href="../-tabulator/get-column.html">getColumn</a></p> </td> <td> diff --git a/api/pl.treksoft.kvision.tabulator/-tabulator/download-c-s-v.html b/api/pl.treksoft.kvision.tabulator/-tabulator/download-c-s-v.html new file mode 100644 index 00000000..be2a0b2d --- /dev/null +++ b/api/pl.treksoft.kvision.tabulator/-tabulator/download-c-s-v.html @@ -0,0 +1,26 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Tabulator.downloadCSV - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.tabulator</a> / <a href="index.html">Tabulator</a> / <a href="./download-c-s-v.html">downloadCSV</a><br/> +<br/> +<h1>downloadCSV</h1> +<a name="pl.treksoft.kvision.tabulator.Tabulator$downloadCSV(kotlin.String, pl.treksoft.kvision.tabulator.DownloadSet, kotlin.Char, kotlin.Boolean, kotlin.Boolean)"></a> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">downloadCSV</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.tabulator.Tabulator$downloadCSV(kotlin.String, pl.treksoft.kvision.tabulator.DownloadSet, kotlin.Char, kotlin.Boolean, kotlin.Boolean)/fileName">fileName</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.tabulator.Tabulator$downloadCSV(kotlin.String, pl.treksoft.kvision.tabulator.DownloadSet, kotlin.Char, kotlin.Boolean, kotlin.Boolean)/dataSet">dataSet</span><span class="symbol">:</span> <a href="../-download-set/index.html"><span class="identifier">DownloadSet</span></a> <span class="symbol">=</span> DownloadSet.ACTIVE<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.tabulator.Tabulator$downloadCSV(kotlin.String, pl.treksoft.kvision.tabulator.DownloadSet, kotlin.Char, kotlin.Boolean, kotlin.Boolean)/delimiter">delimiter</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-char/index.html"><span class="identifier">Char</span></a> <span class="symbol">=</span> ','<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.tabulator.Tabulator$downloadCSV(kotlin.String, pl.treksoft.kvision.tabulator.DownloadSet, kotlin.Char, kotlin.Boolean, kotlin.Boolean)/includeBOM">includeBOM</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.tabulator.Tabulator$downloadCSV(kotlin.String, pl.treksoft.kvision.tabulator.DownloadSet, kotlin.Char, kotlin.Boolean, kotlin.Boolean)/newTab">newTab</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<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><span class="symbol">?</span></code> +<p>Download the table content as CSV</p> +<h3>Parameters</h3> +<p><a name="fileName"></a> +<code>fileName</code> - downloaded file name</p> +<p><a name="dataSet"></a> +<code>dataSet</code> - a data set configuration</p> +<p><a name="delimiter"></a> +<code>delimiter</code> - CSV delimiter</p> +<p><a name="includeBOM"></a> +<code>includeBOM</code> - determines if BOM should be included</p> +<p><a name="newTab"></a> +<code>newTab</code> - determines if download should be open in a new tab</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.tabulator/-tabulator/download-h-t-m-l.html b/api/pl.treksoft.kvision.tabulator/-tabulator/download-h-t-m-l.html new file mode 100644 index 00000000..e8a52be1 --- /dev/null +++ b/api/pl.treksoft.kvision.tabulator/-tabulator/download-h-t-m-l.html @@ -0,0 +1,24 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Tabulator.downloadHTML - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.tabulator</a> / <a href="index.html">Tabulator</a> / <a href="./download-h-t-m-l.html">downloadHTML</a><br/> +<br/> +<h1>downloadHTML</h1> +<a name="pl.treksoft.kvision.tabulator.Tabulator$downloadHTML(kotlin.String, pl.treksoft.kvision.tabulator.DownloadSet, kotlin.Boolean, kotlin.Boolean)"></a> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">downloadHTML</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.tabulator.Tabulator$downloadHTML(kotlin.String, pl.treksoft.kvision.tabulator.DownloadSet, kotlin.Boolean, kotlin.Boolean)/fileName">fileName</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.tabulator.Tabulator$downloadHTML(kotlin.String, pl.treksoft.kvision.tabulator.DownloadSet, kotlin.Boolean, kotlin.Boolean)/dataSet">dataSet</span><span class="symbol">:</span> <a href="../-download-set/index.html"><span class="identifier">DownloadSet</span></a> <span class="symbol">=</span> DownloadSet.ACTIVE<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.tabulator.Tabulator$downloadHTML(kotlin.String, pl.treksoft.kvision.tabulator.DownloadSet, kotlin.Boolean, kotlin.Boolean)/style">style</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.tabulator.Tabulator$downloadHTML(kotlin.String, pl.treksoft.kvision.tabulator.DownloadSet, kotlin.Boolean, kotlin.Boolean)/newTab">newTab</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<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><span class="symbol">?</span></code> +<p>Download the table content as HTML</p> +<h3>Parameters</h3> +<p><a name="fileName"></a> +<code>fileName</code> - downloaded file name</p> +<p><a name="dataSet"></a> +<code>dataSet</code> - a data set configuration</p> +<p><a name="style"></a> +<code>style</code> - download a html table with matching styling</p> +<p><a name="newTab"></a> +<code>newTab</code> - determines if download should be open in a new tab</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.tabulator/-tabulator/download-j-s-o-n.html b/api/pl.treksoft.kvision.tabulator/-tabulator/download-j-s-o-n.html new file mode 100644 index 00000000..31950d6b --- /dev/null +++ b/api/pl.treksoft.kvision.tabulator/-tabulator/download-j-s-o-n.html @@ -0,0 +1,22 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Tabulator.downloadJSON - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.tabulator</a> / <a href="index.html">Tabulator</a> / <a href="./download-j-s-o-n.html">downloadJSON</a><br/> +<br/> +<h1>downloadJSON</h1> +<a name="pl.treksoft.kvision.tabulator.Tabulator$downloadJSON(kotlin.String, pl.treksoft.kvision.tabulator.DownloadSet, kotlin.Boolean)"></a> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">downloadJSON</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.tabulator.Tabulator$downloadJSON(kotlin.String, pl.treksoft.kvision.tabulator.DownloadSet, kotlin.Boolean)/fileName">fileName</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.tabulator.Tabulator$downloadJSON(kotlin.String, pl.treksoft.kvision.tabulator.DownloadSet, kotlin.Boolean)/dataSet">dataSet</span><span class="symbol">:</span> <a href="../-download-set/index.html"><span class="identifier">DownloadSet</span></a> <span class="symbol">=</span> DownloadSet.ACTIVE<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.tabulator.Tabulator$downloadJSON(kotlin.String, pl.treksoft.kvision.tabulator.DownloadSet, kotlin.Boolean)/newTab">newTab</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<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><span class="symbol">?</span></code> +<p>Download the table content as JSON</p> +<h3>Parameters</h3> +<p><a name="fileName"></a> +<code>fileName</code> - downloaded file name</p> +<p><a name="dataSet"></a> +<code>dataSet</code> - a data set configuration</p> +<p><a name="newTab"></a> +<code>newTab</code> - determines if download should be open in a new tab</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.tabulator/-tabulator/index.html b/api/pl.treksoft.kvision.tabulator/-tabulator/index.html index c1f05c19..dd2d4b1b 100644 --- a/api/pl.treksoft.kvision.tabulator/-tabulator/index.html +++ b/api/pl.treksoft.kvision.tabulator/-tabulator/index.html @@ -294,6 +294,33 @@ </tr> <tr> <td> +<p><a href="download-c-s-v.html">downloadCSV</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">downloadCSV</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.tabulator.Tabulator$downloadCSV(kotlin.String, pl.treksoft.kvision.tabulator.DownloadSet, kotlin.Char, kotlin.Boolean, kotlin.Boolean)/fileName">fileName</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.tabulator.Tabulator$downloadCSV(kotlin.String, pl.treksoft.kvision.tabulator.DownloadSet, kotlin.Char, kotlin.Boolean, kotlin.Boolean)/dataSet">dataSet</span><span class="symbol">:</span> <a href="../-download-set/index.html"><span class="identifier">DownloadSet</span></a> <span class="symbol">=</span> DownloadSet.ACTIVE<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.tabulator.Tabulator$downloadCSV(kotlin.String, pl.treksoft.kvision.tabulator.DownloadSet, kotlin.Char, kotlin.Boolean, kotlin.Boolean)/delimiter">delimiter</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-char/index.html"><span class="identifier">Char</span></a> <span class="symbol">=</span> ','<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.tabulator.Tabulator$downloadCSV(kotlin.String, pl.treksoft.kvision.tabulator.DownloadSet, kotlin.Char, kotlin.Boolean, kotlin.Boolean)/includeBOM">includeBOM</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.tabulator.Tabulator$downloadCSV(kotlin.String, pl.treksoft.kvision.tabulator.DownloadSet, kotlin.Char, kotlin.Boolean, kotlin.Boolean)/newTab">newTab</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<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><span class="symbol">?</span></code> +<p>Download the table content as CSV</p> +</td> +</tr> +<tr> +<td> +<p><a href="download-h-t-m-l.html">downloadHTML</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">downloadHTML</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.tabulator.Tabulator$downloadHTML(kotlin.String, pl.treksoft.kvision.tabulator.DownloadSet, kotlin.Boolean, kotlin.Boolean)/fileName">fileName</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.tabulator.Tabulator$downloadHTML(kotlin.String, pl.treksoft.kvision.tabulator.DownloadSet, kotlin.Boolean, kotlin.Boolean)/dataSet">dataSet</span><span class="symbol">:</span> <a href="../-download-set/index.html"><span class="identifier">DownloadSet</span></a> <span class="symbol">=</span> DownloadSet.ACTIVE<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.tabulator.Tabulator$downloadHTML(kotlin.String, pl.treksoft.kvision.tabulator.DownloadSet, kotlin.Boolean, kotlin.Boolean)/style">style</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.tabulator.Tabulator$downloadHTML(kotlin.String, pl.treksoft.kvision.tabulator.DownloadSet, kotlin.Boolean, kotlin.Boolean)/newTab">newTab</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<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><span class="symbol">?</span></code> +<p>Download the table content as HTML</p> +</td> +</tr> +<tr> +<td> +<p><a href="download-j-s-o-n.html">downloadJSON</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">downloadJSON</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.tabulator.Tabulator$downloadJSON(kotlin.String, pl.treksoft.kvision.tabulator.DownloadSet, kotlin.Boolean)/fileName">fileName</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.tabulator.Tabulator$downloadJSON(kotlin.String, pl.treksoft.kvision.tabulator.DownloadSet, kotlin.Boolean)/dataSet">dataSet</span><span class="symbol">:</span> <a href="../-download-set/index.html"><span class="identifier">DownloadSet</span></a> <span class="symbol">=</span> DownloadSet.ACTIVE<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.tabulator.Tabulator$downloadJSON(kotlin.String, pl.treksoft.kvision.tabulator.DownloadSet, kotlin.Boolean)/newTab">newTab</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<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><span class="symbol">?</span></code> +<p>Download the table content as JSON</p> +</td> +</tr> +<tr> +<td> <p><a href="get-column.html">getColumn</a></p> </td> <td> diff --git a/api/pl.treksoft.kvision.tabulator/index.html b/api/pl.treksoft.kvision.tabulator/index.html index dd235b7e..920543fa 100644 --- a/api/pl.treksoft.kvision.tabulator/index.html +++ b/api/pl.treksoft.kvision.tabulator/index.html @@ -68,6 +68,15 @@ </tr> <tr> <td> +<p><a href="-download-set/index.html">DownloadSet</a></p> +</td> +<td> +<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">DownloadSet</span></code> +<p>Tabulator download data set option.</p> +</td> +</tr> +<tr> +<td> <p><a href="-editor/index.html">Editor</a></p> </td> <td> |