在ASP.Net网格视图创建冻结列 [英] Create Frozen columns in a ASP.Net Grid View

查看:86
本文介绍了在ASP.Net网格视图创建冻结列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图创建一个员工在一个组织中的时间表。系统管理员需要填充列表,检查时间片是否由员工或不填写。

I am trying to create a Time sheet for a Employee's in a organization. The System administrator need to populate a list and check whether the time sheet is filled by the employee or not.

我这个附加的图像前3列EmployeeName,HasLicence和SkillLevel是静态的。与日期范围内的列是动态的。列可以基于所选的时间范围。如果日期范围超过页面大小水平滚动应该出现在第二部分中,并保持冻结的前三列。

I this attached image the first 3 columns EmployeeName, HasLicence and SkillLevel are static. The Columns with date range are dynamic. The columns can vary based on the date range selected. If the date range exceeds page size a horizontal Scroll should appear in the second part and keep the First three columns frozen.

我试图通过创建2个独立的电网来实现这一点,并一起加入。但我获得了大量的定位问题。请建议我可以做到这一点最好的办法。

I tried to achieve this by creating 2 separate grid and join together. But i am getting lots of alignment issue. Please suggest me a best way to do this.

推荐答案

一个可能的途径是使用CSS来实现这个冻结的外观,但它会呈现不同的方式在旧的浏览器,所以请你希望支持所有浏览器测试

One possible path is to use CSS to achieve this "frozen" appearance, but it will render differently in older browsers so please test on all browsers you wish to support.

查看冻结asp.net网格视图列看到一个解决方案到了这个问题。

Check out Freeze asp.net grid view column to see one solution to this problem.

这篇关于在ASP.Net网格视图创建冻结列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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