===========
cancel_edit
===========

.. js:function:: cancel_edit() 

**domain**: client 

**language**: javascript

**class** :doc:`Item class </refs/client/item_api>`

Description
===========

Cancel visual editing on the record

The ``cancel_edit`` method 

* calls the
  :doc:`close_edit_form <m_close_edit_form>`
  method to destroy the edit_form

* calls the
  :doc:`cancel <m_cancel>`
  method to undo modifications made to the record
  

See also
========

:doc:`Modifying datasets </programming/data/modifying_datasets>`

:doc:`close_edit_form <m_close_edit_form>`

:doc:`cancel <m_cancel>`



