title: Table data update on input change
body: <p>I want to change the table data on input radio change
  Please check JSFiddle link in the comment with example.</p>
  
  <p>By default, the table show array values for </p>
  
  <p>Plan A ==> <code>cashData, invoiceData and expenseData</code></p>
  
  <p>But I want to table data to change on input radio plan B click, 
  the table should show </p>
  
  <p>Plan B ==> <code>cashData2, invoiceData2 and expenseData2</code> 
  and on clicking plan C, table should show total of </p>
  
  <p>Plan C ==> <code>cashData+cashData2, invoiceData+invoiceData2, expenseData+expenseData2</code>
  how to change table data on input radio switch?</p>