1金币
最佳答案那必须是阔以的。
1. 通过Workbook.getHost()拿到spreadjs的实例的宿主元素。
2. 然后强行去挂宿主DIV的mouse move事件,记得capture。
3. 然后在mouse move事件里,通过鼠标事件拿到相对宿主的鼠标位置x,y。
4. 调用现成的API, https://demo.grapecity.com.cn/spreadjs/help/api/classes/GC.Spread.Sheets.Workbook#hittest
5. 如果hitTest返回的碰撞结果里有个tabStripHitInfo,类似于这玩意
你就可以放心大胆的搞个DI ...
| |
| |
| |
SpreadJS 17.0.8 | GcExcel 7.1.0 已发布~
|
|
| |
| |
SpreadJS 17.0.8 | GcExcel 7.1.0 已发布~
|
|
| |
| |
SpreadJS 17.0.8 | GcExcel 7.1.0 已发布~
|
|