浏览代码

Update docs.

zhixin 11 年之前
父节点
当前提交
d1ac27bb44
共有 1 个文件被更改,包括 1 次插入1 次删除
  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': '{}'
                 }
             ]