Commit b29e442e authored by Jefferyne's avatar Jefferyne

Updates 前端组件/DataSource.md

Auto commit by GitBook Editor
parent 6b91a02b
...@@ -184,19 +184,19 @@ ...@@ -184,19 +184,19 @@
* validation * validation
| 属性名 | 类型 | | 属性名 | 类型 | 描述 |
| --- | --- | | :--- | :--- | :--- |
| required | Boolean | | required | Boolean | 设为必填 |
| max | Integer | | max | Integer | 设最大 |
| min | Integer | | min | Integer | 设最小 |
### **sort** ### **sort**
| 属性名 | 类型 | | 属性名 | 类型 | 描述 |
| --- | --- | | :--- | :--- | :--- |
| dir | String | | dir | String | 分为升序或者降序 |
| field | String | | field | String | 字段的id |
| compare | function | | compare | function | 比较事件 |
```xml ```xml
<h:dataSource id="gridDataSource" batch="true" pageSize="10" serverPaging="true" serverSorting="true" error="requestError"> <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