Gridview具有可滚动内容 [英] Gridview with scrollable content

查看:85
本文介绍了Gridview具有可滚动内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿伙计们我已经能够创建一个gridview并且完成所有内容并且格式化,现在我需要将它放在一个可滚动的容器中并保持Headers。

Hey guys I've been able to create a gridview and get all nice and formated, now I need to put it in a scrollable container and keep the Headers in view.

网格必须是动态的 意思是没有固定的宽度或列名。

The grid must be dynamic meaning no fixed widths or column names.

我有一个命令字段来保存编辑选择删除

I have a command field to hold edit select delete

关闭我已经解决了将标题样式设置为下面的类,但这会将标题移到左侧,覆盖命令字段。

The closes I have come to the solution is setting the header style to the class below, but this moves the header to the left,covering the command field.

任何提示?

.fixedHeader
{
top:0;
position:relative;
z-index:2; 

 
}

推荐答案

似乎就像你的形式不对。如果你正在使用它,请尝试ASP.Net论坛。
It seems like you're in a wrong form. Please try ASP.Net forums if that's what you're using.


这篇关于Gridview具有可滚动内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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