ソースを参照

added documentation for filterData

Dustin 9 年 前
コミット
01face5b9c
1 ファイル変更6 行追加0 行削除
  1. 6 0
      src/extensions/filter-control/README.md

+ 6 - 0
src/extensions/filter-control/README.md

@@ -37,6 +37,12 @@ Dependence if you use the datepicker option: [bootstrap-datepicker](https://gith
 * description: Set `input`: show an input control, `select`: show a select control, `datepicker`: show a datepicker control.
 * description: Set `input`: show an input control, `select`: show a select control, `datepicker`: show a datepicker control.
 * default: `undefined`
 * default: `undefined`
 
 
+### filterData
+
+* type: String
+* description: Set custom select filter values, use `var:variable` to load from a variable or `url:http://www.example.com/data.json` to load from json file. 
+* default: `undefined`
+
 ### filterDatepickerOptions
 ### filterDatepickerOptions
 * type: Object
 * type: Object
 * description: If the datepicker option is set use this option to configure the datepicker with the native options. Use this way: `data-filter-datepicker-options='{"autoclose":true, "clearBtn": true, "todayHighlight": true}'`.
 * description: If the datepicker option is set use this option to configure the datepicker with the native options. Use this way: `data-filter-datepicker-options='{"autoclose":true, "clearBtn": true, "todayHighlight": true}'`.