- <script language="javascript" type="text/javascript">
- function window.onload() {
- var spread = document.all("FpSpread1");
- if (spread != null) {
- spread.onEditStart = startSpreadEdit;
- }
- }
- function startSpreadEdit() {
- window.status = "Edit start " + event.cell.outerHTML;
- // Lock second row.
- if (FpSpread1.ActiveRow == 1) event.cancel = true;
- }
- </script>
复制代码 |