Browse Source

update document.

zhixin 12 years ago
parent
commit
fd680bf916
1 changed files with 1 additions and 1 deletions
  1. 1 1
      index.html

+ 1 - 1
index.html

@@ -48,7 +48,7 @@
             {name: 'title', type: 'String', description: 'The column title text.', default: 'undefined'},
             {name: 'align', type: 'String', description: 'Indicate how to align the column data. "left", "right", "center" can be used.', default: 'undefined'},
             {name: 'width', type: 'Number', description: 'The width of column. If not defined, the width will auto expand to fit its contents.', default: 'undefined'},
-            {name: 'formatter', type: 'Function', description: 'The cell formatter function, take three parameters: <br />value: the field value. <br />rowData: the row record data.', default: 'undefined'}
+            {name: 'formatter', type: 'Function', description: 'The cell formatter function, take two parameters: <br />value: the field value. <br />rowData: the row record data.', default: 'undefined'}
           ]
         });
         $('#method').bootstrapTable({