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
Spencer Chang
hel-developer-guide
Commits
32c97a4a
Commit
32c97a4a
authored
Aug 03, 2017
by
custom
Browse files
Options
Browse Files
Download
Plain Diff
Merge origin/master into master
parents
1bfb45e9
99585074
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
37 additions
and
37 deletions
+37
-37
mvn_archetype_plugin.png
assets/mvn_archetype_plugin.png
+0
-0
git-guide.md
git-guide.md
+1
-1
hlsDatePicker.md
前端组件/hlsDatePicker.md
+0
-0
hlsGrid.md
前端组件/hlsGrid.md
+34
-34
融租易开发手册.md
融租易开发手册.md
+2
-2
No files found.
assets/mvn_archetype_plugin.png
0 → 100644
View file @
32c97a4a
80.2 KB
git-guide.md
View file @
32c97a4a
...
...
@@ -30,7 +30,7 @@ git对文件的操作都是在四大域上进行的,文件可以在四大域
### 2. `clone`命令
***
-
`git clone git@github.com:lavor-zl/Github-Git.git`
:从远程服务器克隆一个仓库到本地
-
`git clone git@github.com:lavor-zl/Github-Git.git`
:从远程服务器克隆一个仓库到本地
,
**如果gitlab发现pull或者push出现SSL问题,先在cmd执行git config --global http.sslVerify false**
## 3. 基本操作
***
...
...
前端组件/hlsDatePicker.md
View file @
32c97a4a
前端组件/
g
rid.md
→
前端组件/
hlsG
rid.md
View file @
32c97a4a
## Grid
##
hls
Grid
#### 表格
...
...
@@ -8,19 +8,19 @@
```
xml
<!--h:为命名空间,必须要加的,grid为组件名;id可写可不写-->
<h:
g
rid
id=
"grid"
/>
<h:
hlsG
rid
id=
"grid"
/>
```
```
xml
<!--grid-->
<h:
g
rid
dataSource=
"dataSource"
selectable=
"multiple, rowbox"
editable=
"true"
>
<h:
hlsG
rid
dataSource=
"dataSource"
selectable=
"multiple, rowbox"
editable=
"true"
>
<h:pageable
pageSizes=
"5, 10, 20, 50"
buttonCount=
"5"
refresh=
"true"
>
</h:pageable>
<h:columns>
<h:column
field=
"moduleCode"
title=
''
width=
"100"
/>
<h:column
field=
"functionCode"
title=
''
width=
"180"
/>
</h:columns>
</h:
g
rid>
</h:
hlsG
rid>
```
---
...
...
@@ -137,17 +137,17 @@ function rowTemplate(){
```
xml
<!--delimeter是Object类型-->
<h:
g
rid>
<h:
hlsG
rid>
<h:allowCopy>
<h:delimeter
/>
</h:allowCopy>
</h:
g
rid>
</h:
hlsG
rid>
<!--delimeter是String类型-->
<h:
g
rid>
<h:
hlsG
rid>
<h:allowCopy
delimeter=
","
>
</h:allowCopy>
</h:
g
rid>
</h:
hlsG
rid>
```
#### **columns**子标签
...
...
@@ -187,20 +187,20 @@ function rowTemplate(){
**attributes**
用法:
```
xml
<h:
g
rid>
<h:
hlsG
rid>
<h:columns>
<h:column>
<h:attributes
"style"="text-align:center"
/>
</h:column>
</h:columns>
</h:
g
rid>
</h:
hlsG
rid>
```
**command**
用法:
```
xml
<!--对于数组来说,有两种形式,一种是直接用逗号分隔,放在标签上的,如 aggregates;另一种是创建子标签,再创建item子标签,再将数组内的内容整合到item子标签上,如command,先创建command子标签,再创建item子标签,再将数组中的每一个集合放在item标签上-->
<h:
g
rid>
<h:
hlsG
rid>
<h:columns
aggregates=
"count,min,max"
>
<h:column
template=
"fn:template"
/>
<h:column
field=
"functionId"
width=
"30px/>
...
...
@@ -211,7 +211,7 @@ function rowTemplate(){
</h:command>
</h:column>
</h:columns>
</h:
g
rid>
</h:
hlsG
rid>
```
**editor**
用法:
...
...
@@ -223,19 +223,19 @@ function editor(){
```
```
xml
<h:
g
rid>
<h:
hlsG
rid>
<h:columns>
<h:column
editor=
"editor"
>
</h:column>
</h:coulmns>
</h:
g
rid>
</h:
hlsG
rid>
```
**filterable**
用法:
```
xml
<!--以filterable举例 遇到对象就向下添加子标签-->
<h:
g
rid>
<h:
hlsG
rid>
<h:columns>
<h:column>
<h:filterable>
...
...
@@ -243,19 +243,19 @@ function editor(){
</h:filterable>
</h:column>
</h:columns>
</h:
g
rid>
</h:
hlsG
rid>
```
**headerAtrributes**
用法:
```
xml
<h:
g
rid>
<h:
hlsG
rid>
<h:columns>
<h:column>
<h:headerAttributes
"style"="color:red"
>
</h:column>
</h:columns>
</h:
g
rid>
</h:
hlsG
rid>
```
#### **ColumnMenu**子标签
...
...
@@ -270,11 +270,11 @@ function editor(){
用法:
```
xml
<h:
g
rid
id=
"grid"
>
<h:
hlsG
rid
id=
"grid"
>
<h:columnMenu
columns=
"true"
fileterable=
"false"
>
<h:messages
columns=
"choose columns"
/>
</h:columnMenu>
</h:
g
rid >
</h:
hlsG
rid >
```
#### **editable**子标签
...
...
@@ -292,11 +292,11 @@ function editor(){
用法:
```
xml
<h:
g
rid
id=
"grid"
>
<h:
hlsG
rid
id=
"grid"
>
<h:columnMenu
columns=
"true"
fileterable=
"false"
>
<h:messages
columns=
"choose columns"
/>
</h:columnMenu>
</h:
g
rid >
</h:
hlsG
rid >
```
#### **pageable**子标签
...
...
@@ -317,11 +317,11 @@ function editor(){
```
xml
<!--pageSizes 为array时-->
<h:
g
rid>
<h:
hlsG
rid>
<h:pageable
pageSizes=
"all,5,10,20,50"
buttonCount=
"5"
refresh=
"true"
>
<h:messages
display=
"show"
/>
</h:pageable>
</h:
g
rid>
</h:
hlsG
rid>
```
#### **messages**子标签
...
...
@@ -334,11 +334,11 @@ function editor(){
用法:
```
xml
<h:
g
rid>
<h:
hlsG
rid>
<h:messages
noRecords=
"no data"
>
<h:commands
cancel=
"cancel"
/>
</h:messages >
</h:
g
rid>
</h:
hlsG
rid>
```
#### **noRecords**子标签
...
...
@@ -350,10 +350,10 @@ function editor(){
用法:
```
xml
<h:
g
rid>
<h:
hlsG
rid>
<h:noRecords
template=
"no records"
>
</h:noRecords>
</h:
g
rid>
</h:
hlsG
rid>
```
#### **scrollable**子标签
...
...
@@ -365,9 +365,9 @@ function editor(){
用法:
```
xml
<h:
g
rid>
<h:
hlsG
rid>
<h:scrollable
virtual=
"true"
/>
</h:
g
rid>
</h:
hlsG
rid>
```
#### **sortable**子标签
...
...
@@ -380,9 +380,9 @@ function editor(){
用法:
```
xml
<h:
g
rid>
<h:
hlsG
rid>
<h:sortable
allowUnsort=
"true"
mode=
"multiple"
/>
</h:
g
rid>
</h:
hlsG
rid>
```
#### **toolbar**子标签
...
...
@@ -401,7 +401,7 @@ function template(){
```
xml
<!--toolbar是数组 所以属性都是针对于数组内的集合来说的-->
<h:
g
rid>
<h:
hlsG
rid>
<h:toolbar>
<h:item
name=
"create"
>
<!--当template为String时,由于xml会对标签的封闭符号敏感,所以可以采取下面的方式-->
...
...
@@ -410,7 +410,7 @@ function template(){
</h:template>
</h:item>
</h:toolbar>
</h:
g
rid>
</h:
hlsG
rid>
```
> **提示**:
...
...
融租易开发手册.md
View file @
32c97a4a
...
...
@@ -38,7 +38,7 @@
*
V. 前端UI开发
*
[
5.1 hlsCombobox\(下拉框\)
](
/前端组件/hlsCombobox.md
)
*
5.2
[
hlsDataSource\(数据源\)
](
/前端组件/hlsDataSource.md
)
*
[
5.2
hlsDataSource\(数据源\)
](
/前端组件/hlsDataSource.md
)
*
[
5.3 hlsMaskedTextBox\(文本框\)
](
/前端组件/hlsMaskedTextBox.md
)
*
[
5.4 hlsPage\(分页控件\)
](
/前端组件/hlsPage.md
)
*
[
5.5 hlsTextArea\(文本域\)
](
/前端组件/hlsTextArea.md
)
...
...
@@ -51,7 +51,7 @@
*
[
5.12 hlsForm\(表单\)
](
/前端组件/hlsForm.md
)
*
[
5.13 hlsCombobox\(下拉框\)
](
/前端组件/hlsCombobox.md
)
*
[
5.14 hlsCheckBox\(复选框\)
](
/前端组件/hlsCheckBox.md
)
*
[
5.15
grid\(表格\)
](
/前端组件/g
rid.md
)
*
[
5.15
hlsGrid\(表格\)
](
/前端组件/hlsG
rid.md
)
*
[
5.16 dataSource\(数据源\)
](
/前端组件/dataSource.md
)
*
[
5.17 hlsGridBox\(表格\)
](
/前端组件/hlsGridBox.md
)
*
[
5.18 hlsNumericTextBox\(数字框\)
](
/前端组件/hlsNumericTextBox.md
)
...
...
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