summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.tabulator/-tabulator/download-c-s-v.html
blob: be2a0b2d62c38abd7c2c12343cea3dac5c17d3c8 (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
<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>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.tabulator</a>&nbsp;/&nbsp;<a href="index.html">Tabulator</a>&nbsp;/&nbsp;<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>&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="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>&nbsp;<a href="../-download-set/index.html"><span class="identifier">DownloadSet</span></a>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-char/index.html"><span class="identifier">Char</span></a>&nbsp;<span class="symbol">=</span>&nbsp;','<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>&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;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>&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;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>