浏览代码

added some documentation

Dustin Utecht 6 年之前
父节点
当前提交
15654898a0
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      site/docs/api/column-options.md

+ 6 - 0
site/docs/api/column-options.md

@@ -180,6 +180,9 @@ The column options is defined in `jQuery.fn.bootstrapTable.columnDefaults`.
 - **Detail:**
 
   Set `true` to show a radio. The radio column has fixed width.
+  
+  If a value is given the Checkbox is automatically checked.  
+    Its also possible to check/uncheck the radio by use an formatter (return `true` to check, return `false` to uncheck).
 
 - **Default:** `false`
 
@@ -192,6 +195,9 @@ The column options is defined in `jQuery.fn.bootstrapTable.columnDefaults`.
 - **Detail:**
 
   Set `true` to show a checkbox. The checkbox column has fixed width.
+  
+  If a value is given the Checkbox is automatically checked.  
+  Its also possible to check/uncheck the checkbox by use an formatter (return `true` to check, return `false` to uncheck). 
 
 - **Default:** `false`