How to hide or show the columns in Kendo grid conditionally
<p>We usually write this if we have to hide a column in kendo grid.</p>

<pre><code> { field: "Name", hidden: true },
</code></pre>

<p>but I want to use condition in the hidden. The true or false would come from database in another field i.e HideShow. Is there any option if I can set this.</p>

<pre><code> { field: "Name", hidden: HideShow},
</code></pre>

<p>HideShow = true/false will be set while getting records from database.</p>

<p>I have tried hide and showing by jquery also but it is distorting the grid layout while showing. Hide is working fine.</p>