Editable table column data
What you can do is first create nodes using the API data and create a table view. so that the views fields can be referenced to nodes and they can be updated.
By this way you wont be needing any additional event handlers.
To Create Nodes you can use the following snippet:
use \Drupal\node\Entity\Node;

$node = Node::create([

       'type' =&gt; 'new_content_type',

       'title' =&gt; 'Creating a new node',

       'body' =&gt; 'Body of the node',

       'field_mail'=&gt;'email@gmail.com',

       'field_link'=&gt;'http://www.example.com',

       'field_date'=&gt;[ '2017-07-22', ],

]);  
$node-&gt;enforceIsNew();
$node-&gt;save();