|
@@ -122,7 +122,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
<p data-zh="不通过JavaScript的方式启动Bootstrap Table。">Activate bootstrap table without writing JavaScript.</p>
|
|
<p data-zh="不通过JavaScript的方式启动Bootstrap Table。">Activate bootstrap table without writing JavaScript.</p>
|
|
|
<div class="bs-example">
|
|
<div class="bs-example">
|
|
|
- <table data-toggle="table" data-url="data1.json" data-height="299">
|
|
|
|
|
|
|
+ <table data-toggle="table" data-url="data1.json" data-cache="false" data-height="299">
|
|
|
<thead>
|
|
<thead>
|
|
|
<tr>
|
|
<tr>
|
|
|
<th data-field="id">Item ID</th>
|
|
<th data-field="id">Item ID</th>
|
|
@@ -143,7 +143,7 @@
|
|
|
<h4 class="modal-title" id="myModalLabel" data-zh="基本表格">Basic Table</h4>
|
|
<h4 class="modal-title" id="myModalLabel" data-zh="基本表格">Basic Table</h4>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="modal-body">
|
|
<div class="modal-body">
|
|
|
- <table data-toggle="table" data-url="data1.json" data-height="299">
|
|
|
|
|
|
|
+ <table data-toggle="table" data-url="data1.json" data-cache="false" data-height="299">
|
|
|
<thead>
|
|
<thead>
|
|
|
<tr>
|
|
<tr>
|
|
|
<th data-field="id">Item ID</th>
|
|
<th data-field="id">Item ID</th>
|
|
@@ -976,6 +976,7 @@
|
|
|
$('#table-javascript').bootstrapTable({
|
|
$('#table-javascript').bootstrapTable({
|
|
|
method: 'get',
|
|
method: 'get',
|
|
|
url: 'data2.json',
|
|
url: 'data2.json',
|
|
|
|
|
+ cache: false,
|
|
|
height: 400,
|
|
height: 400,
|
|
|
striped: true,
|
|
striped: true,
|
|
|
pagination: true,
|
|
pagination: true,
|