Browse Source

Merge pull request #2036 from Falseee/develop

docs(filter-control extension): add documentation for filterData
wenzhixin 9 years ago
parent
commit
483e1ea993
1 changed files with 6 additions and 0 deletions
  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.
 * 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
 * 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}'`.