Using Webgrid to create <th> tag -


i tried render table using webgrid, structure using webgrid render doesn't contain <th> tag, , renders <td> inside <tr> tag inside ''.

can me how render <th> tag without using <table>? such : `

      <tbody>           <tr>             <th> </th>             <td></td>           </tr>          </tbody>        </table> 

`

thx lot

the webgrid render th elements default unless set displayheader parameter false. render them in tr within thead element. additionally, render opening <table> tag. if don't want opening <table> tag, have manually construct whatever html want render.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -