Commit b29e442e authored by Jefferyne's avatar Jefferyne

Updates 前端组件/DataSource.md

Auto commit by GitBook Editor
parent 6b91a02b
......@@ -159,7 +159,7 @@
| parse | Function | 设为推送式 |
| type | String | 类型 |
| from | String | |
| checkedValue | String | 为true设为选中 |
| checkedValue | String | 为true设为选中 |
| uncheckedValue | String | 为true设为没选中 |
```xml
......@@ -184,19 +184,19 @@
* validation
| 属性名 | 类型 |
| --- | --- |
| required | Boolean |
| max | Integer |
| min | Integer |
| 属性名 | 类型 | 描述 |
| :--- | :--- | :--- |
| required | Boolean | 设为必填 |
| max | Integer | 设最大 |
| min | Integer | 设最小 |
### **sort**
| 属性名 | 类型 |
| --- | --- |
| dir | String |
| field | String |
| compare | function |
| 属性名 | 类型 | 描述 |
| :--- | :--- | :--- |
| dir | String | 分为升序或者降序 |
| field | String | 字段的id |
| compare | function | 比较事件 |
```xml
<h:dataSource id="gridDataSource" batch="true" pageSize="10" serverPaging="true" serverSorting="true" error="requestError">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment