let yourElement = document.getElementById("yourElement");
let wsheet = new websheet('HTML', yourElement,0,0,800,400);
/**
* 第一步 获取激活的activeSheet
*/
let activeSheet = wsheet.ActiveSheet();
activeSheet.SetCellValue('B2','1');
activeSheet.SetCellValue('B3','2');
activeSheet.SetCellValue('B4','3');
activeSheet.SetCellValue('B5','4');
activeSheet.SetCellValue('B6','5');
activeSheet.SetCellValue('B7','6');
activeSheet.SetCellValue('B8','7');
activeSheet.SetCellValue('B9','8');
activeSheet.SetCellValue('B10','9');
/**
* 第二步
*/
activeSheet.DelRowStart(3,4);//删除第3行开始的4行
/**
* 第三步 重新绘制表格
*/
wsheet.BuildSheet();
wsheet.Draw();