Browse Source

Update hideHeader option to showHeader.

zhixin 11 years ago
parent
commit
97f388f88d
2 changed files with 4 additions and 4 deletions
  1. 3 3
      docs/docs.js
  2. 1 1
      docs/examples.html

+ 3 - 3
docs/docs.js

@@ -122,10 +122,10 @@ $(function () {
                 'default': 'btSelectItem'
             },
             {
-                name: 'hideHeader',
+                name: 'showHeader',
                 type: 'Boolean',
-                description: 'True to hide the table header.',
-                'default': 'false'
+                description: 'False to hide the table header.',
+                'default': 'true'
             }
         ]
     });

+ 1 - 1
docs/examples.html

@@ -248,7 +248,7 @@
                     <h1 id="hide-header-table">Hide Header Table</h1>
                 </div>
                 <div class="bs-example">
-                    <table data-toggle="table" data-url="data1.json" data-height="246" data-hide-header="true">
+                    <table data-toggle="table" data-url="data1.json" data-height="246" data-show-header="false">
                         <thead>
                         <tr>
                             <th data-field="name">Item Name</th>