垂直冻结Lighswitch网格 [英] Freezing Lighswitch grid vertically

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

问题描述

我的Lighswitch网格具有很大的数据.使用垂直滚动时,页面向下滚动时,顶部的列标题将被隐藏.

My Lighswitch grid has quite large data. When vertical scroll is used the column headers on top get hidden as the page scrolls down.

我正在寻找一种在垂直滚动页面时在Lighswitch屏幕上的网格中冻结(修复)列标题的技术.

I was looking for a technique to freeze(fix) the column headers in a grid on Lighswitch screen when the page is scrolled vertically.

有人可以帮我吗?

谢谢!

推荐答案

  在Silverlight数据网格中,列标题不在可滚动区域中.但是,如果父容器是可滚动的,则可能发生上述情况.要解决此问题,

   In Silverlight datagrid, the column headers are not in scrollable area. However, the situation described by can happen if the parent container is scrollable. To fix the issue,

1.确保数据网格的父级(和任何祖先)未启用垂直滚动条.

1.  Make sure that the parent (and any ancestor) of the datagrid doesn't have vertical scrollbar enabled.

2.父级的垂直对齐方式应设置为拉伸.

2. Parent's vertical alignment should be set to stretch.

3.数据网格的垂直对齐方式应设置为拉伸.

3. Data grid's vertical alignment should be set to stretch.

如果设置上述属性,则datagrid列标题将不会滚动.

If you set the above properties, the datagrid column header won't scroll.

-

Prem.


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

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