你好,我没能重现你的问题,请参考在线示例:
https://demo.grapecity.com.cn/wi ... ows/Freezing/purejs
在flexgrid中加入scrollPositionChanged事件:
- // default behavior: allow column reordering
- var theGrid = new FlexGrid('#theGrid', {
- itemsSource: data,
- frozenRows: 2,
- frozenColumns: 1,
- scrollPositionChanged: function(){
- console.log(1);
- }
- });
复制代码 |