MDN’s new design is in Beta! A sneak peek:


stopEditing( shouldaccept )
Return type: no return value
Stops editing the cell currently being edited. If the shouldAccept parameter is true, the cell's label is changed to the edited value (the tree view's nsITreeView.setCellText() method is called to change the cell contents). Otherwise the cell label is reverted to the value it had prior to editing.

Document Tags and Contributors

 Last updated by: Sheppy,