title: How to get multiple checkbox checked value in jquery datatable
body: <p>On Button Click, I want to  get the multiple row selected value from the <code>datatables</code>. From my below code, I only get the first row selected value. </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>function AssignVendor() {
      var table = $(assignVendor).DataTable();
      var data = table
              .row({ selected: true })
              .data();
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;table id="assignVender" class="mp myTable table table-striped table-bordered" cellspacing="0" width="100%" ui-jq="dataTable" ui-options="dataTableOpt"&gt;
  
                          &lt;thead&gt;
                              &lt;tr&gt;
                                  &lt;th class="select-checkbox"&gt;&lt;/th&gt;
                                  &lt;th&gt;MP Name&lt;/th&gt;
                                  &lt;th&gt;MP Code&lt;/th&gt;
                                  &lt;th&gt;Vendor Name&lt;/th&gt;
                                  &lt;th&gt;Vendor Code&lt;/th&gt;
                                  &lt;th&gt;From Date&lt;/th&gt;
                                  &lt;th&gt;To Date&lt;/th&gt;
                                  &lt;th&gt;Remarks&lt;/th&gt;
                              &lt;/tr&gt;
                          &lt;/thead&gt;
                          &lt;tbody&gt;
                              &lt;tr ng-repeat="mp in MaintenanceZones"&gt;
                                  &lt;td&gt;&lt;/td&gt;
                                  &lt;td&gt;{{mp.MP_NAME}}&lt;/td&gt;
                                  &lt;td&gt;{{mp.MP_CODE}}&lt;/td&gt;
                                  &lt;td&gt;{{mp.REMARK}}&lt;/td&gt;
                                  &lt;td&gt;{{mp.VENDORNAME}}&lt;/td&gt;
                                  &lt;td&gt;{{mp.VENDORCODE}}&lt;/td&gt;
                                  &lt;td&gt;{{mp.VFRDATE}}&lt;/td&gt;
                                  &lt;td&gt;{{mp.VTODATE}}&lt;/td&gt;
  
                              &lt;/tr&gt;
  
                          &lt;/tbody&gt;
                      &lt;/table&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Please help</p>