葡萄城SpreadJS 鼠标右击单元格,获取选中的行
葡萄城SpreadJS 鼠标右击单元格,获取选中的行private void data_MouseDown(object sender, MouseEventArgs e){ // 鼠标右击 if(e.Button == MouseButtons.Right && e.Clicks == 1){ HitTestInformation info = data.HitTest(e.X, e.Y); // 选中的行 int row = info.ViewportInfo.Row;
原创
2022-03-01 16:07:50 ·
1035 阅读 ·
0 评论