开发者

specify jquery theme for html table

开发者 https://www.devze.com 2023-02-20 08:46 出处:网络
I am trying to display a table in html page. However, the contents of the table will be loaded from a database table. I managed to do it, but the table looks like a normal html table. I would like it

I am trying to display a table in html page. However, the contents of the table will be loaded from a database table. I managed to do it, but the table looks like a normal html table. I would like it to look good via JQuer开发者_C百科y theme.

Is there a simple way of doing it ?

Thanks


You can check out this resource for styling an html table with jQuery UI:

Style an HTML Table using jQuery UI and Theme Switcher Widget


What you want is CSS...not jQuery. jQuery can add some functionality to your tables like fixed headers or excel like features (re-size columns, client side sorting, etc).

But if all you are trying to do is a theme then you would do that with CSS not javascript.

0

精彩评论

暂无评论...
验证码 换一张
取 消