div中的网格标题 [英] Grid headers in a div

查看:142
本文介绍了div中的网格标题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用会生成一些长数据表以在网格中显示。所以我把它们放在

div中,这样用户就可以滚动了。但网格标题滚动出视图。我会

喜欢阻止他们这样做。我可以将它们固定在div的顶部吗?


-

John Wilson

解决方案

http://www.societopia.net/ samples / dataGrid_5c.aspx

-

HTH,

Phillip Williams
http://www.societopia.net
http://www.webswapp.com

" John Wilson"写道:

我的应用程序生成一些长数据表以显示在网格中。所以我把它们放在一个div中,这样用户就可以滚动了。但网格标题滚动出视图。我会阻止他们这样做。我可以将它们固定在div的顶部吗?

-
John Wilson



< blockquote> Phillip Williams写道:

http:// www.societopia.net/samples/dataGrid_5c.aspx




如果你想在某些用户中使用这个功能在Firefox下不起作用/>
除了IE以外的其他浏览器,你仍然需要找到更好的解决方案。


我一直在寻找这样的东西。在他们的网站

它的工作原理,我打算弄清楚所以我复制了示例代码,但是

它不会工作 - 编译错误页面负载。他们确实有一些漂亮的

的东西。


" Phillip Williams" <博士************** @ webswapp.com>在消息中写道

news:55 ********************************** @ microsof t.com ...

http:// www.societopia.net/samples/dataGrid_5c.aspx
-
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com

" John Wilson"写道:

我的应用程序生成一些长数据表以显示在网格中。所以我把它们放在
一个div中,这样用户就可以滚动了。但网格标题滚动出视图。我会
喜欢阻止他们这样做。我可以将它们固定在
div的顶部吗?

-
John Wilson



My app produces some long datatables to display in a grid. So I put them in
a div so users can scroll. But the grid headers scroll out of view. I would
like to stop them doing this. Can I fix them in place at the top of the div?

--
John Wilson

解决方案

http://www.societopia.net/samples/dataGrid_5c.aspx
--
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com
"John Wilson" wrote:

My app produces some long datatables to display in a grid. So I put them in
a div so users can scroll. But the grid headers scroll out of view. I would
like to stop them doing this. Can I fix them in place at the top of the div?

--
John Wilson



Phillip Williams wrote:

http://www.societopia.net/samples/dataGrid_5c.aspx



This feature doesn''t work under Firefox, if you wish to use in some
other browser than IE you''ll still have to find a better solution.


I was looking for something like this as well on and off. On their Web site
it works, and I was going to figure it out so I copied the example code but
it won''t work - compile error when the page loads. They do have some nifty
stuff though.

"Phillip Williams" <Ph**************@webswapp.com> wrote in message
news:55**********************************@microsof t.com...

http://www.societopia.net/samples/dataGrid_5c.aspx
--
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com
"John Wilson" wrote:

My app produces some long datatables to display in a grid. So I put them
in
a div so users can scroll. But the grid headers scroll out of view. I
would
like to stop them doing this. Can I fix them in place at the top of the
div?

--
John Wilson



这篇关于div中的网格标题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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