title: How to commit changes in a cell from code in slickgrid
body: <p>I have used custom formatter and editor in slickgrid, which is simply checkbox angular directive. I am using twice the directive, once for formatter, and once for editor. Formatter and Editors are served from angular service. Slickgrid itself is wrapped into an angular directive.  </p>
  
  <p>Editors are implemented according to slickgrid doc <a href="https://github.com/mleibman/SlickGrid/wiki/Writing-custom-cell-editors" rel="nofollow noreferrer">Writing custom editors</a></p>
  
  <p>The slickgrid directive is used in several places. One scenario, which I am struggling with, is when there is a grid, and there are buttons outside of grid. </p>
  
  <p>When one clicks one of this button, I have to get the values from cells/editors. </p>
  
  <p>When grid is rendered, once sees checkbox. it is checked/unchecked based on current value of a cell where this formatter is used. </p>
  
  <p>And when one clicked on a cell with checkbox, the checkbox changes from unchecked to checked or vice versa. And then one clickes somewhere else in the grid in the value of editor checkbox copied to cell, and then formatter shows checked/unchecked. </p>
  
  <p>Back to my scenario: when one checkes/unchecks checkbox in editor mode, and directly clickes one of the buttons outside grid, the value of editor is not applied yet to cell, thus the wrong value is send. While we are still in editor mode, and value is not committed. </p>
  
  <p>Now the question, how to commit changes to cell right after the value of checkbox is changed dynamically without waiting for slickgrid to change from editor mode to formatter mode? </p>
  
  <p>Found <a href="https://stackoverflow.com/questions/13688511/how-to-lose-focus-on-a-cell-in-slickgrid">this question</a> relative, but my environment is not the same. </p>
  
  <p>I found that editor takes args argument which has commitChanges() method, but how to use it? </p>
  
  <p>Best</p>