浏览代码

Added some documentation for the unique id

Dustin Utecht 3 年之前
父节点
当前提交
4fa60eb219
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      site/docs/api/table-options.md

+ 2 - 1
site/docs/api/table-options.md

@@ -1802,7 +1802,8 @@ The table options are defined in `jQuery.fn.bootstrapTable.defaults`.
 
 - **Detail:**
 
-  Indicate a unique identifier for each row.
+  Indicate a unique identifier for each row.   
+  The Unique id should always be safe for html e.g. alphanumeric, it should not contain chars which can break html e.g. `"`. 
 
 - **Default:** `undefined`