Browse Source

Update docs.

zhixin 11 years ago
parent
commit
d1ac27bb44
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/docs.js

+ 1 - 1
docs/docs.js

@@ -190,7 +190,7 @@ $(function () {
                 {
                     name: 'rowStyle',
                     type: 'Function',
-                    description: 'The row formatter function, take two parameters: <br>row: the row record data.<br>index: the row index.<br>Support classes or css, code example:<br>{<br>classes: "red", <br>css: {background: "red", color: "white"}<br>}',
+                    description: 'The row formatter function, take two parameters: <br>row: the row record data.<br>index: the row index.<br>Support classes or css, code example:<br><pre>return {<br>    classes: "red", <br>    css: {background: "red", color: "white"}<br>}</pre>',
                     'default': '{}'
                 }
             ]