jquery-bootgrid - changing default labels -
i using jquery-bootgrid , want know how change "loading" , "noresults" labels.
the doco http://www.jquery-bootgrid.com/documentation states "all labels can set , overridden on initialization respectively."
but unsure how this.
it works way:
$(function() { $("#grid").bootgrid({ labels: { noresults: "where results" } }); });
<table id="grid" class="table table-condensed table-hover table-striped"> <thead> <tr> <th data-column-id="id" data-type="numeric">id</th> <th data-column-id="sender">sender</th> <th data-column-id="received" data-order="desc">received</th> </tr> </thead> <tbody> </tbody> </table> <link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet"/> <link href="https://cdnjs.cloudflare.com/ajax/libs/jquery-bootgrid/1.1.4/jquery.bootgrid.min.css" rel="stylesheet"/> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-bootgrid/1.1.4/jquery.bootgrid.min.js"></script>
Comments
Post a Comment