Hi there
We have just start using Ext1.0 and not sure if the following feature is available. We like to make the first column on the grid locked while the rest is scrollable. For example we like to display a grid with 50 columns on a page say the first column has the client name and the second to 50th column contains dates in the form of weeks. eg
Client Name_|___1st Jan_|____7th Jan__|___ 14th Jan ...... 25th Dec
Micheal______|____X______|______________|_______
Neil__________|____________|___ X________|_________
Shirley_______|____________|_____________|____X__
Hence the grid will automatically present a horiz scroll bar to scroll the columns. In our scenario, the client name needs to stay so when we scroll to the right we can see which X's belong to which client.
Not sure if this is possible with the existing Ext 1.0 grid.
We have just start using Ext1.0 and not sure if the following feature is available. We like to make the first column on the grid locked while the rest is scrollable. For example we like to display a grid with 50 columns on a page say the first column has the client name and the second to 50th column contains dates in the form of weeks. eg
Client Name_|___1st Jan_|____7th Jan__|___ 14th Jan ...... 25th Dec
Micheal______|____X______|______________|_______
Neil__________|____________|___ X________|_________
Shirley_______|____________|_____________|____X__
Hence the grid will automatically present a horiz scroll bar to scroll the columns. In our scenario, the client name needs to stay so when we scroll to the right we can see which X's belong to which client.
Not sure if this is possible with the existing Ext 1.0 grid.

|
#2
|
|
In your columnmodel:
(the locked-config is what to notice here) {header: "ClientName", dataIndex: 'theName', locked: true} ![]() |
本文探讨了使用Ext1.0框架实现表格功能的方法,特别是如何将表格的第一列固定,而其余列可以滚动的问题。该需求适用于展示大量并行数据的情况,如客户名单与对应日期的标记。
398

被折叠的 条评论
为什么被折叠?



