Gridview Column Width in ASP.net
<p>I'm looking to set the width of several columns to 0px initially and then controlling the width with jQuery when the table is rendered based on some user interaction on the front-end. </p>

<p>So far, I have</p>

<pre><code>&lt;asp:BoundField DataField="Col1" HeaderText="col1" &gt;
&lt;HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="0px" /&gt;
&lt;ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="0px /&gt;
&lt;/asp:BoundField&gt;
</code></pre>

<p>but for some reason, the column is still showing. Why? Its width is set at 0px??</p>

<p>Thanks.</p>
