title: Compare two dynamic Datatable & highlight differences between the two
body: <p>Requirement:</p>
  
  <p>I have a master table (Eg: Cities).This table is used as a reference table in other transaction tables in the application.This table can undergo following changes
  1- Add new row to this table
  2- Add new column to the table
  3- Modify existing values
  4- Delete existing values</p>
  
  <p>Now because this is a used as a reference table in other tranactions tables,the changes cannot be reflected in the main table &amp; so there is a second pair of eyes check(SPOE) involved.For this, when the table undergoes any of the above changes,I create  another table in the database that will act as a temporary table &amp; save it. SPOE check screen should be such that he/she can easily identify the differences between the two table.If there are new rows or columns added,changes in existing values, it should be highlighed as given in the attachment.</p>
  
  <p><strong>Note: This logic is to be applied for any master table.No columns are known in advanced.Passing table name should highlight the differences between main table &amp; temporary table.</strong></p>
  
  <p>Any help would be appreciated.</p>
  
  <p>Regards,</p>
  
  <p>Farhin </p>