<HTML>
<HEAD>
<meta charset="UTF-8">
<title>Form.setData - 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.form</a>&nbsp;/&nbsp;<a href="index.html">Form</a>&nbsp;/&nbsp;<a href="./set-data.html">setData</a><br/>
<br/>
<h1>setData</h1>
<a name="pl.treksoft.kvision.form.Form$setData(pl.treksoft.kvision.form.Form.K)"></a>
<code><span class="keyword">fun </span><span class="identifier">setData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.Form$setData(pl.treksoft.kvision.form.Form.K)/model">model</span><span class="symbol">:</span>&nbsp;<a href="index.html#K"><span class="identifier">K</span></a><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>Sets the values of all the controls from the model.</p>
<h3>Parameters</h3>
<p><a name="model"></a>
<code>model</code> - data model</p>
</BODY>
</HTML>