更改jqGrid的样式 [英] Change style of jqGrid

查看:434
本文介绍了更改jqGrid的样式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 jqGrid 3.5。我可以使用jQuery或自定义CSS或其他方法来更改网格的样式和外观吗?

I am using jqGrid 3.5. Can I change the style and look of the grid and make it more beautiful using jQuery or custom CSS or something else?

推荐答案

的jqGrid 3.5的大特性是与jQuery UI主题集成。您可以从此处构建和/或选择主题。然后只需在页面中添加一个引用:

One of the big features of jqGrid 3.5 is integration with jQuery UI Themes. You can build and/or select a theme from here. Then just add a reference to it in your page:

<link rel="stylesheet" type="text/css" href="../css/redmond/jquery-ui-1.7.2.custom.css"/>

这将给你一个看起来非常好的网格,

This will get you a grid that looks very good, with a minimum of effort.

这样能解决您的问题,还是需要彻底改变网格外观吗?

Does that solve your problem or do you need to overhaul the grid look-and-feel even more?

这篇关于更改jqGrid的样式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆