delete row - removeByUniqueId not working in my bootstrap-table? -
i tried use command giving 1 of id's in table , not working.
$table.bootstraptable('removebyuniqueid', "id"); $( "#deleteurl" ).click(function() { alert( "handler .click() called." ); $('#servicetable').bootstraptable('removebyuniqueid', "test"); }); here #deleteurl delete button id , "test" 1 of id's in table.
i refered link syntax
http://issues.wenzhixin.net.cn/bootstrap-table/#methods/removebyuniqueid.html
thanks in advance!!
i did in way. added data-unique-id="my-id" in table.
<table class="table-striped" id="servicetable" data-unique-id="hostname" data-search="true" data-show-refresh="true" data-show-columns="true" data-pagination="true" > i have my-id in table unique.
so im accessing , deleting row. yay did!
$table.bootstraptable('removebyuniqueid', "demo upgrade");
Comments
Post a Comment