title: Primeng Datatable selection with weird data
body: <p>I'm retrieving two sets of data from an MSSQL server.
  Set one: (which is user specific, so this set changes)</p>
  
  <pre><code>[
    {
      "TargetID": 1,
      "Enabled": true
    },
    {
      "TargetID": 2,
      "Enabled": true
    }
  ]
  </code></pre>
  
  <p>Set two:</p>
  
  <pre><code>[
    {
      "Platform": "BB",
      "ID": 1
    },
    {
      "Platform": "MDL01",
      "ID": 2
    },
    {
      "Platform": "MDLEX",
      "ID": 4
    }
  ]
  </code></pre>
  
  <p>Set two populates the Primeng Datatable. Set one's TargetID value refers to the ID in set two. Whenever the TargetID value is the same as the ID in set two, I have to check this in the Datatable.</p>
  
  <p>The datatable: </p>
  
  <pre><code>&lt;div class="col-md-12"&gt;
              &lt;p-dataTable [value]="doelplatformen" [rows]="3" class="thumbnail" resizableColumns="true" [paginator]="true" [pageLinks]="0"
                  [rowsPerPageOptions]="[3,5,10]" emptyMessage="Loading data" [(selection)]="selectedDoelplatformen" (onRowSelect)="onRowSelectDoelplatform($event)"&gt;
                  &lt;p-column [style]="{'width':'30px'}" selectionMode="multiple"&gt;&lt;/p-column&gt;
                  &lt;p-column [style]="{'width':'40px'}" field="ID" header="ID"&gt;&lt;/p-column&gt;
                  &lt;p-column field="Platform" header="Platform"&gt;&lt;/p-column&gt;
              &lt;/p-dataTable&gt;
          &lt;/div&gt;
  </code></pre>
  
  <p>I haven't tried much because I have no idea how this could be achieved? I can't even figure out how to hard code the selected rows... </p>
  
  <p>Any help would be greatly apreciated! Thanks in advance! </p>