Trading Demo

HTML

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/v/bs4-4.1.1/dt-1.10.18/b-1.5.4/b-colvis-1.5.4/rg-1.1.0/datatables.min.css"/>
 
<table id="impsch_account_list" class="table table-striped" style="width: 100%;">
  <thead class="">
    <tr style="background-color: #2c2e3e; color: #fff">
      <th>ImpSchId</th>
      <th>FinancialAccountId</th>
      <th>SecurityId</th>
      <th>Security</th>
      <th class="text-center">Ticker</th>
      <th class="text-center">Current</th>
      <th class="text-center">1</th>
      <th class="text-center">2</th>
      <th class="text-center">3</th>
      <th class="text-center">4</th>
      <th class="text-center">5</th>
      <th class="text-center">6</th>
      <th class="text-center">7</th>
      <th class="text-center">8</th>
      <th class="text-center">9</th>
      <th class="text-center">10</th>
      <th class="text-center">11</th>
      <th class="text-center">12</th>
      <th class="text-center">Future</th>
      <th class="text-center">Trades</th>
      <th class="text-center">Ending</th>
      <th class="text-center">Asset Class</th>
    </tr>
  </thead>
</table>
<script type="text/javascript" src="https://cdn.datatables.net/v/bs4-4.1.1/dt-1.10.18/b-1.5.4/b-colvis-1.5.4/rg-1.1.0/datatables.min.js"></script>

JavaScript

var data = [
    {
        "1": -100000,
        "2": null,
        "3": null,
        "4": null,
        "5": null,
        "6": null,
        "7": null,
        "8": null,
        "9": null,
        "10": null,
        "11": null,
        "12": null,
        "impsch_id": 4,
        "financial_account_id": 524,
        "financial_account": "Joe Schmo",
        "account_group": "Personal",
        "security_id": 2895,
        "security": "Sweep",
        "ticker": "KSIXX",
        "current": 160900,
        "future": null,
        "asset_class": "CA"
    },
    {
        "1": null,
        "2": null,
        "3": null,
        "4": null,
        "5": null,
        "6": null,
        "7": null,
        "8": null,
        "9": null,
        "10": null,
        "11": null,
        "12": null,
        "impsch_id": 4,
        "financial_account_id": 524,
        "financial_account": "Joe Schmo",
        "account_group": "Personal",
        "security_id": 20961,
        "security": "Jensen Quality Growth J",
        "ticker": "JENSX",
        "current": 196100,
        "future": null,
        "asset_class": "LSB"
    },
    {
        "1": null,
        "2": null,
        "3": null,
        "4": null,
        "5": null,
        "6": null,
        "7": null,
        "8": null,
        "9": null,
        "10": null,
        "11": null,
        "12": null,
        "impsch_id": 4,
        "financial_account_id": 524,
        "financial_account": "Joe Schmo",
        "account_group": "Personal",
        "security_id": 9779,
        "security": "Dodge & Cox Stock",
        "ticker": "DODGX",
        "current": 201800,
        "future": null,
        "asset_class": "LSV"
    },
    {
        "1": null,
        "2": null,
        "3": null,
        "4": null,
        "5": null,
        "6": null,
        "7": null,
        "8": null,
        "9": null,
        "10": null,
        "11": null,
        "12": null,
        "impsch_id": 4,
        "financial_account_id": 524,
      ...