title: dx-data-grid save button active
body: <p>dx-data-grid add event without inside add button like batch add operations.</p>
  <p>I use these versions</p>
  <p>angular 10.2</p>
  <p>devextreme 20.2.5</p>
  <p>devextreme-angular 20.2.5</p>
  <p>I have a dx-data-grid as below</p>
  <pre><code>&lt;dx-data-grid
      id=&quot;gridContainer&quot;
      [dataSource]=&quot;myCustomDataStore&quot;
      [showBorders]=&quot;true&quot;
      [remoteOperations]=&quot;true&quot;
      [repaintChangesOnly]=&quot;true&quot;
      (onSaving)=&quot;onSaving($event)&quot;&gt;
  
      &lt;dxo-editing
          mode=&quot;batch&quot;
          [allowAdding]=&quot;true&quot;
          [allowDeleting]=&quot;true&quot;
          [allowUpdating]=&quot;true&quot;
      &gt;&lt;/dxo-editing&gt;
    &lt;!--here is my columns --&gt;
  &lt;/dx-data-grid&gt;
  </code></pre>
  <p>setNewLine() {
  this.myCustomDataStore.store().push([
  { type: &quot;update&quot;, data: data }
  ]);
  }</p>
  <p>i want to when I II click setNewLine() , create a new line as batch new line like this. Because otherwise save button wont activate.</p>
  <p>How can i active save button.</p>
  <p>i haven't seen like this image
  <a href="https://i.stack.imgur.com/ex3oF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ex3oF.png" alt="enter image description here" /></a></p>