How to set cell value in DataTable on button click
<p>I'm trying to modify a cell value using DataTable (the new version) when an outside button is clicked.
I have the following for now:</p>

<pre><code>$(document).on('click', '.dropdown-menu li a', function () {
    if ($(this).text() == "development") {
        var cell = table.row( 6 ).data()[4]     
        cell.data( "development" ).draw();
    }
});
</code></pre>

<p>This doesn't work since I think the table row and data retrieval method doesn't return an object with .data() attribute that allows me to set data cell value. I'm getting the following error: <code>cell.data is not a function. (In 'cell.data( "development" )', 'cell.data' is undefined)</code>However, I'm not sure how to access a table cell value the .data() way without having a click even in the table. My button is placed outside the table somewhere else.</p>

<p>Any idea how to make this work?</p>