title: Add id to dynamically created row using bootstrap table in jquery
body: <p>I am creating Bootstrap table using JSON values. I can add class dynamically to row. But i cant add ID to row when creating dynamically bootstrap table. Please find my code,</p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;table id="eventsTable" data-checkbox="true" data-sortable="true" data-row-style="rowStyle"&gt;&lt;/table&gt;
  </code></pre>
  
  <p>JS:</p>
  
  <pre><code>$.ajax({
          type: "POST",
          url: "apilist",
          data: "",
          success: function (response) {
                      if (response != null) {
                          var data = [];
                          $.each(response.Slip, function (index) {
                              var obj = {};
                              obj.SlipID = response.Slip[index].SlipID;
                              obj.Client = response.Slip[index].Client;
                              data.push(obj);
                          });
                          $('#eventsTable').bootstrapTable({
                              columns: [
                                  { field: "state", checkbox: true },
                                  { field: "SlipID", title: 'SlipID', sortable: true, class : "hide" },
                                  { field: "Client", title: 'Client', sortable: true },
                              ],
                              data: data,
                          });
                      }
            }
  });
  </code></pre>
  
  <p>Please let me know the suggestions,
  Thanks.</p>