开发者

Need to freeze column in sharepoint

I have a table in sharepoint wi开发者_运维问答th 40 columns. I need a javascript code for freezing first column. i.e., when horizontal scroll-bar is moved, first column remain freezed.


What does "...table in sharepoint..." mean?

  • An SPList (a custom list)?
  • An HTML table on a master page/page/web part?
  • A server-side control such as a ListView?

This sounds more like a CSS question even though JavaScript will likely be the mechanism that applies the necessary styles. If you have a table with 40 columns you may want to rethink your UI anyway. If this isn't possible, perhaps you could have two tables, one to hold the first column and the other to hold the remaining 39 (which could be placed in a div and made to scroll horizontally).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜