how to add thead to my grid in jquery
<p>i have my grid like this in jquery</p>

<pre><code>success: function(result) {
    $('#MyGrid tbody').append('&lt;tr&gt;&lt;td&gt;' + result.FileName + '&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href="#" class="remove"&gt;Remove&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;');
}
</code></pre>

<p>now i want to add thead to MyGrid to which i need to add style property and inside thead i also need to add tr having style property. as like </p>

<pre><code> &lt;thead style=""&gt;&lt;tr style=""&gt;&lt;/tr&gt;&lt;/thead&gt;
</code></pre>

<p>through jquery</p>

<p>also i need to remove that thead in another jquery function. so could you please provide me how to add thead and delete that thead in jquery which has tr inside it.</p>

<p>thanks,
michaeld</p>
