title: Adding Custom columns in React Material-table
body: <p>I'm new to MERN, so any help would be appreciated. Im trying to create a Stocks app.
  I have retrieved the data using axios and have displayed it in the table using Material-Table.</p>
  <pre><code>
      import React, {useState, useEffect} from 'react'
      import MaterialTable from 'material-table'
      import axios from &quot;axios&quot;;
      
      const DataTable = () =&gt; {
        const [tableData, setTableData] = useState([]);
        const columns = [
          {title: 'NAME', field: 'name', width: 200},
          {title: 'SYMBOL', field: 'symbol', width: 200},
          {title: 'MARKET CAP', field: 'market_cap', width: 200},
          {title: 'CURRENT PRICE', field: 'price', width: 200}
        
        ]
        useEffect(() =&gt; {
              axios
                .get(
                  &quot;https://api.nomics.com/v1/currencies/ticker?key=xyz&amp;interval=1d,30d&amp;convert=USD&amp;per-page=100&quot;`
                )
                .then((res) =&gt; {
                  console.log(res);
                  setTableData(res.data);
                })
            }, []);
      
        return (
            &lt;div&gt;
                &lt;div &gt;
            &lt;MaterialTable style={{height: 400, width: '70%', left: '14%', top: 100}}
              data={tableData}
              columns={columns}
              title={&quot;Stock Details Table&quot;}
              options={{
            search: true
            
          }}
              
            /&gt;
          &lt;/div&gt;
            &lt;/div&gt;
          
        )
      }
      
      export default DataTable
  </code></pre>
  <p>But now , i want to be able to save the row data of any company that i select into a mongoDb database and should be able to view all the companies that i selected.</p>
  <p>My question is, how do i add a seperate column which has buttons for each company to enable me to add the row data into my mongodb database. I don't know how to add custom data along with the data  from the api.</p>