浏览代码

Moving cell-input.md docs to correct folder (#4245)

Dennis Hernández 6 年之前
父节点
当前提交
728f49160e
共有 2 个文件被更改,包括 54 次插入35 次删除
  1. 54 0
      site/docs/extensions/cell-input.md
  2. 0 35
      src/extensions/cell-input/README.md

+ 54 - 0
site/docs/extensions/cell-input.md

@@ -0,0 +1,54 @@
+---
+layout: docs
+title: Cell Input
+description: Plugin to add input/select element on the cells of table.
+group: extensions
+toc: true
+---
+
+Use Plugin: [bootstrap-table-cell-input](https://github.com/wenzhixin/bootstrap-table/tree/master/src/extensions/cell-input)
+
+## Usage
+
+{% highlight html %}
+<script src="extensions/cell-input/bootstrap-table-cell-input.js"></script>
+{% endhighlight %}
+
+## Options
+
+### cellInputEnabled
+
+- **type:** `Boolean`
+
+- **Detail:**
+
+   Set to true to enable the plugin.
+
+- **Default:** `false`
+
+## Column options
+
+### cellInputEnabled
+
+- **type:** `Boolean`
+
+- **Detail:**
+
+   Set to true to make the cell editable.
+
+- **Default:** `false`
+
+### cellInputType
+
+- **type:** `String`
+
+- **Detail:**
+
+   Defines the type of input. available options: `text` and `select`.
+
+- **Default:** `text`
+
+## Example
+
+
+[http://jsfiddle.net/amatveef/5qztmj0w/](http://jsfiddle.net/amatveef/5qztmj0w/)

+ 0 - 35
src/extensions/cell-input/README.md

@@ -1,35 +0,0 @@
-# Cell Input
-### Plugin to add input/select element on the cells of table
-
-## Usage
-
-```html
-<script src="extensions/cell-input/bootstrap-table-cell-input.js"></script>
-```
-## Options of table
-
-### cellInputEnabled
-
-* type: Boolean
-* description: Set to true to enable the plugin
-* default: `false`
-
-## Options of column
-
-### cellInputEnabled
-
-* type: Boolean
-* description: Set to true to make the cell editable
-* default: `false`
-
-### cellInputType
-
-* type: String
-* description: defines the type of input. available options: `text` and `select`
-* default: `text`
-
-
-## Example
-
-
-[http://jsfiddle.net/amatveef/5qztmj0w/](http://jsfiddle.net/amatveef/5qztmj0w/)