title: How to get edited data of smart table in angular 4
body: <p>I am working on angular project I am using smart table. I have my .html as given</p>
  
  <pre><code> &lt;ng2-smart-table [settings]="settings" [source]="source"  (editConfirm)="onSaveConfirm($event)"
  (deleteConfirm)="onDeleteConfirm($event)" &gt;
      &lt;/ng2-smart-table&gt;
  </code></pre>
  
  <p>the .ts file is as follow</p>
  
  <pre><code>export class CoursesComponent {
  settings = {
  hideSubHeader: false,
  mode: 'inline',
  
             edit: {
        editButtonContent: '&lt;i class="nb-edit"&gt;&lt;/i&gt;',
        saveButtonContent: '&lt;i class="nb-checkmark"&gt;&lt;/i&gt;',
        cancelButtonContent: '&lt;i class="nb-close"&gt;&lt;/i&gt;',
        //confirmEdit: true,
            },
      delete: {
        deleteButtonContent: '&lt;i class="nb-trash"&gt;&lt;/i&gt;',
        confirmDelete: true,
      },};
  
  onDeleteConfirm(event): void {
  console.log(event.data);
      if (window.confirm('Are you sure you want to delete?')) {
        event.confirm.resolve();
      } else {
        event.confirm.reject();
      }
    }
    onSaveConfirm(event): void {
  console.log(event.data);
  
    }
  }
  </code></pre>
  
  <p>I want to get the edited data of the table but I am not getting it.
  The properties in ng-smart-table are as given</p>
  
  <pre><code>edit: {
                  inputClass: '',
                  editButtonContent: 'Edit',
                  saveButtonContent: 'Update',
                  cancelButtonContent: 'Cancel',
                  confirmSave: false,
              },
              delete: {
                  deleteButtonContent: 'Delete',
                  confirmDelete: false,
              },
  </code></pre>
  
  <p>any help?</p>