Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hel-developer-guide
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenhao
hel-developer-guide
Commits
6e9e80d4
Commit
6e9e80d4
authored
Aug 02, 2017
by
Jefferyne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updates 前端组件/Grid.md
Auto commit by GitBook Editor
parent
47f4c38f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
51 deletions
+39
-51
Grid.md
前端组件/Grid.md
+39
-51
No files found.
前端组件/Grid.md
View file @
6e9e80d4
...
...
@@ -120,20 +120,20 @@ function rowTemplate(){
| 属性名 | 类型 | 描述 |
| :--- | :--- | :--- |
| allowCopy | Object | |
| columns | Array | |
| columnMenu | Object | |
| editable | Object | |
| messages | Object | |
| scrollable | Object | |
| sortable | Object | |
| toolbar | Array | |
| allowCopy | Object |
允许复制
|
| columns | Array |
列
|
| columnMenu | Object |
列菜单
|
| editable | Object |
是否可编辑
|
| messages | Object |
提示 信息
|
| scrollable | Object |
出现滚动条
|
| sortable | Object |
可以排序
|
| toolbar | Array |
按钮
|
#### **allowCopy**子标签
| 属性 | 类型 |
|
--- |
--- |
| delimeter | String & Object |
| 属性 | 类型 |
描述 |
|
:--- | :--- | :
--- |
| delimeter | String & Object |
同一行之间的分节符 |
```
xml
<!--delimeter是Object类型-->
...
...
@@ -152,49 +152,37 @@ function rowTemplate(){
#### **columns**子标签
| 属性 | 类型 |
| --- | --- |
| attributes | Object |
| command | Object |
| editor | Function |
| encoded | Boolean |
| expandable | Boolean |
| field | String |
| footerTemplate | String & Function |
| format | String |
| headerAttributes | Object |
| headerTemplate | String & Function |
| minScreenWidth | Integer |
| sortable | Object |
| template | String & Function |
| title | String |
| width | Integer & String |
| hidden | Boolean |
| menu | Boolean |
| locked | Boolean |
| lockable | Boolean |
| aggregates | Array |
| columns | Object |
| filterable | Object |
| groupable | Boolean |
| groupHeaderTemplate | String & Function |
| groupFooterTemplate | String & Function |
| values | Array |
| footerAttributes | Object |
| 属性 | 类型 | 描述 |
| :--- | :--- | :--- |
| attributes | Object | 属性 |
| command | Object | 显示命令按钮 |
| editor | Function | 编辑时触发 |
| encoded | Boolean | 设置编码 |
| field | String | 字段id |
| footerTemplate | String & Function | 页脚表单 |
| format | String | 格式化 |
| sortable | Object | 可排序 |
| template | String & Function | 离开某个输入单元触发 |
| title | String | 标题 |
| width | Integer & String | 宽度 |
| hidden | Boolean | 隐藏 |
| menu | Boolean | 菜单 |
| locked | Boolean | 锁定 |
| columns | Object | 列 |
| filterable | Object | 可过滤 |
| groupable | Boolean | 可分组 |
| values | Array | 设置值 |
#### **columns-filterable**子标签
| 属性 | 类型 |
| --- | --- |
| cell | Object |
| multi | Boolean |
| dataSource | Function |
| checkAll | Boolean |
| itemTemplate | Function |
| operators | Object |
| search | Boolean |
| ignoreCase | Boolean |
| ui | Object |
| 属性 | 类型 | 描述 |
| :--- | :--- | :--- |
| cell | Object | |
| dataSource | Function | |
| itemTemplate | Function | |
| operators | Object | |
| search | Boolean | |
| ui | Object | |
**attributes**
用法:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment