Replies: 1 comment
|
Hi, thanks for sharing this. RevoGrid Pro already provides StickyCellsPlugin for sticky data cells/rows during vertical scrolling. However, your example describes a different behavior: keeping a column header’s content visible while horizontally scrolling through a very wide column. Regarding the callback, regular column headers receive args.index; indexes is associated with column groups. If index is missing in the fiddle, please check that it uses the same recent RevoGrid version as your application. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hey there.
This is both an example on how to have column titles staying on screen for very broad columns when scrolling horizontally, as well as the question if this might be a useful feature for the library itself (and maybe how to add it as a kind of plugin), and for eventual improvement suggestions.
Following the code handles used to reach that effect:
I wanted to provide a js fiddle as well to show it, but for reasons unknown to me, the "args" object did not have any index/indexes applied (https://jsfiddle.net/zsypvmj8/1/)
All reactions