.NET Gridview 主题示例
我正在寻找 .net gridView 主题(css 文件)的示例,以获得网格的想法。
我的网格必须具有双页式外观(底部和顶部),并且应该支持排序(通过单击标题)和移动鼠标时突出显示行。
我在网上找到的唯一一款是玻璃黑 (http://weblogs.asp. net/kevinbrammer/archive/2008/02/24/glassy-black-gridview-theme.aspx)
你们还有其他我可以学习的网站吗?
(如果它包含源代码示例,我会更高兴,但如果没有 - 它也很好,css和html是可读的)
I'm looking for examples for .net gridView themes (css files) to get ideas for my grid.
My grid must have a double-pager look (Bottom & Top) and should support sorting (by clicking on headers) and row highlighting when moving the mouse.
The only one I found online was the Glassy Black
(http://weblogs.asp.net/kevinbrammer/archive/2008/02/24/glassy-black-gridview-theme.aspx)
Do you have any other websites I can learn from?
(I'd be happier if it included source code examples, but if not - it's also good, css and html are readable)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
Gridview 呈现为 HTML 表格。所以任何表格主题都可以完成工作。
对于页眉、页脚和其他内容,您可能需要自己编写 css 代码。
查看这些链接。
24/15 更新 - mattberseth.com 失效 - 更新了 archive.org 的链接
http://icant.co.uk/csstablegallery/index.php?css=69#r69
https://web.archive.org/web/20110303235607/http://mattberseth2.com/demo/ 有很多带有代码下载的 gridview 自定义。
分页
使用滑块分页
使用排序图标排序
更多主题
https://web.archive.org/web/20140702022550/http://mattberseth.com/blog/2007/10/a_yui_datatable_styled_gridvie.html< /a>
https://web.archive.org/web/20150201190248/http://mattberseth.com/blog/2007/11/5_gridview_themes_based_on_goo.html
Gridview are rendered as HTML Tables. So any Table themes would get the job done.
For headers, footers and other stuff you might have to code the css your self.
Check out these links.
Update 24/15 - mattberseth.com dead - updated links with archive.org
http://icant.co.uk/csstablegallery/index.php?css=69#r69
https://web.archive.org/web/20110303235607/http://mattberseth2.com/demo/ has lot of gridview customizations with code download.
Paging
Paging With Slider
Sorting with sort icons
Some more themes
https://web.archive.org/web/20140702022550/http://mattberseth.com/blog/2007/10/a_yui_datatable_styled_gridvie.html
https://web.archive.org/web/20150201190248/http://mattberseth.com/blog/2007/11/5_gridview_themes_based_on_goo.html
Matts 网站已被劫持,您无法使用这些链接访问资源。请参阅http://forums.asp.net/t/1755110.aspx/1/ 10
Matts site has been hijacked and you cannot get to the resources using these links. See http://forums.asp.net/t/1755110.aspx/1/10
Matt Berseth 的页面: http://mattberseth.com/blog/2007/11/5_gridview_themes_based_on_goo.html
破解网站后可以在此处下载源代码:http://t.co/J9UJetHb
Matt Berseth's Page: http://mattberseth.com/blog/2007/11/5_gridview_themes_based_on_goo.html
Source Code can be downloaded here after hacked website: http://t.co/J9UJetHb