Commit 253246ab authored by Jefferyne's avatar Jefferyne

Updates 前端组件/Grid.md

Auto commit by GitBook Editor
parent 6e85fb39
...@@ -30,25 +30,25 @@ ...@@ -30,25 +30,25 @@
### **主要属性** ### **主要属性**
| 属性名 | 类型 | | 属性名 | 类型 | 描述 |
| --- | --- | | :--- | :--- | :--- |
| data | Array & String | | data | Array & String | 数据源 |
| autoSync | Boolean | | autoSync | Boolean | 自动同步 |
| batch | Boolean | | batch | Boolean | 批处理 |
| page | Integer | | page | Integer | 每页显示大小 |
| pageSize | Integer | | pageSize | Integer | 提供每页显示的大小选择 |
| serverAggregates | Boolean | | serverAggregates | Boolean | 为true数据源将聚合远程计算 |
| serverFiltering | Boolean | | serverFiltering | Boolean | 为true将过滤远程数据 |
| serverGrouping | Boolean | | serverGrouping | Boolean | 为true将远程数据分组 |
| serverPaging | Boolean | | serverPaging | Boolean | 为true将远程数据分页 |
| serverSorting | Boolean | | serverSorting | Boolean | 为true将远程数据排序 |
| type | String | | type | String | 类型 |
| change | Function | | change | Function | 改变事件 |
| error | Function | | error | Function | 错误事件 |
| push | Function | | push | Function | 接受数据源推送式通知 |
| requestEnd | Function | | requestEnd | Function | 请求结束调用事件 |
| requestStart | Function | | requestStart | Function | 请求开始时调用事件 |
| sync | Function | | sync | Function | 自动同步改变的数据 |
> **提示:** 属性用法请参考kendoui API文档 [http://docs.telerik.com/kendo-ui/api/javascript/data/datasource](http://docs.telerik.com/kendo-ui/api/javascript/data/datasource) > **提示:** 属性用法请参考kendoui API文档 [http://docs.telerik.com/kendo-ui/api/javascript/data/datasource](http://docs.telerik.com/kendo-ui/api/javascript/data/datasource)
......
...@@ -38,55 +38,55 @@ ...@@ -38,55 +38,55 @@
> >
> * 属性用法请参考kendoui API文档的grid: [http:\/\/docs.telerik.com\/kendo-ui\/api\/javascript\/ui\/gird](http://docs.telerik.com/kendo-ui/api/javascript/ui/gird) > * 属性用法请参考kendoui API文档的grid: [http:\/\/docs.telerik.com\/kendo-ui\/api\/javascript\/ui\/gird](http://docs.telerik.com/kendo-ui/api/javascript/ui/gird)
| 属性名 | 类型 | | 属性名 | 类型 | 描述 |
| :--- | :--- | | :--- | :--- | :--- |
| allowCopy | Boolean | | allowCopy | Boolean | 允许复制 |
| altRowTemplate | String & Function | | altRowTemplate | String & Function | |
| autoBind | Boolean | | autoBind | Boolean | |
| columnResizeHandleWidth | Integer | | columnResizeHandleWidth | Integer | |
| columnMenu | Boolean | | columnMenu | Boolean | |
| dataSource | kendo.data.DataSource\(Function\) | | dataSource | kendo.data.DataSource\(Function\) | |
| detailTemplate | String & Function | | detailTemplate | String & Function | |
| editable | Boolean & String | | editable | Boolean & String | |
| groupable | Boolean | | groupable | Boolean | |
| height | Integer & String | | height | Integer & String | |
| mobile | Boolean & String | | mobile | Boolean & String | |
| navigatable | Boolean | | navigatable | Boolean | |
| noRecords | Boolean | | noRecords | Boolean | |
| pageable | Boolean | | pageable | Boolean | |
| reorderable | Boolean | | reorderable | Boolean | |
| resizable | Boolean | | resizable | Boolean | |
| rowTemplate | String & Function | | rowTemplate | String & Function | |
| scrollable | Boolean | | scrollable | Boolean | |
| selectable | Boolean & String | | selectable | Boolean & String | |
| sortable | Boolean | | sortable | Boolean | |
| toolbar | String & Function | | toolbar | String & Function | |
| cancel | Function | | cancel | Function | |
| change | Function | | change | Function | |
| columnHide | Function | | columnHide | Function | |
| columnMenuInit | Function | | columnMenuInit | Function | |
| columnReorder | Function | | columnReorder | Function | |
| columnResize | Function | | columnResize | Function | |
| columnShow | Function | | columnShow | Function | |
| dataBinding | Function | | dataBinding | Function | |
| dataBound | Function | | dataBound | Function | |
| detailCollapse | Function | | detailCollapse | Function | |
| detailExpand | Function | | detailExpand | Function | |
| detailInit | Function | | detailInit | Function | |
| edit | Function | | edit | Function | |
| excelExport | Function | | excelExport | Function | |
| filter | Function | | filter | Function | |
| group | Function | | group | Function | |
| page | Function | | page | Function | |
| pdfExport | Function | | pdfExport | Function | |
| filterMenuInit | Function | | filterMenuInit | Function | |
| remove | Function | | remove | Function | |
| save | Function | | save | Function | |
| saveChanges | Function | | saveChanges | Function | |
| sort | Function | | sort | Function | |
| columnLock | Function | | columnLock | Function | |
| columnUnlock | Function | | columnUnlock | Function | |
| navigate | Function | | navigate | Function | |
用法示例: 用法示例:
......
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