Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
使用CRUD,在构建一个CRUD实体时,不需要做所有的手工布线。这个元素为你提供了大量的定制,确保你可以达到你想要的。
图1:截屏显示从人力资源开支申报应用程序中抽取的CRUD
With CRUD, one will not need to do all the manual wiring in constructing a CRUD entity. This element equips you with plenty of customization, making sure that you can achieve what you want.
Figure 1: Screenshot showing CRUD taken from the sample HR Expenses Claim app
Info | ||
---|---|---|
| ||
In Joget Workflow v5, the delete function is now able to delete dependency data.在Joget Workflow v5中,删除功能现在可以删除依赖关系数据。 |
Figure 2: CRUD Properties
图2:CRUD属性
名称 | 描述 | |||||
---|---|---|---|---|---|---|
自定义ID | 物品链接slu </s>。可选字段。 | |||||
Name | Description | |||||
Custom ID | Item link slug. Optional field.
| |||||
Label | Menu label. Mandatory field. | |||||
List | Datalist to load. Mandatory field. | |||||
Form (Add) | Target form to open when adding new record. Optional field. If this attribute is not mapped, then ability to Add is disabled. | |||||
Form (Edit) | Target form to open when editing existing record. Optional field. If this attribute is not mapped, then ability to Edit is disabled. |
Figure 3: CRUD Properties - UI (List)
| |||
标签 | 菜单标签。必填项。 | ||
名单 | Datalist加载。必填项。 | ||
表格(添加) | 添加新记录时打开目标表单。可选字段。 如果此属性未映射,则“添加”功能将被禁用。 | ||
表格(编辑) | 目标表单在编辑现有记录时打开。可选字段。 如果此属性未映射,则“编辑”功能将被禁用。 |
图3:CRUD属性 - UI(列表)
名称 | 描述 | |||||
---|---|---|---|---|---|---|
在菜单中显示行数 | 在菜单中显示行数。 | |||||
Name | Description | |||||
Show Number of Rows In Menu | Show Number of Rows In Menu.
| |||||
Button Position |
| |||||
Selection Type |
| |||||
Selector Position |
| |||||
Edit Link Label | Edit Link Label to show in listing. | |||||
New Record Button Label | New Record Button Label to show in listing. | |||||
Delete Button Label | Delete Button Label to show in listing. | |||||
Show Delete Button? | When checked, the delete button will be shown, effectively enabling the deletion capability. | |||||
Custom Header | Custom Header in HTML to show in listing. | |||||
Custom Footer | Custom Footer in HTML to show in listing. |
Figure 4: CRUD Properties - Actions (List)
| |||
按钮位置 |
| ||
选择类型 |
| ||
选择器位置 |
| ||
编辑链接标签 | 编辑链接标签显示在列表中。 | ||
新记录按钮标签 | 新记录按钮标签显示在列表中。 | ||
删除按钮标签 | 删除按钮标签显示在列表中。 | ||
显示删除按钮? | 选中时,将显示删除按钮,有效启用删除功能。 | ||
自定义标题 | HTML中的自定义标题显示在列表中。 | ||
自定义页脚 | HTML中的自定义页脚显示在列表中。 |
图4:CRUD属性 - 动作(列表)
名称 | 描述 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
更多操作 | 该属性允许您在列表中添加更多操作。
例如: | ||||||||||||
Name | Description | ||||||||||||
More Actions | This attribute allows you to add more actions into the listing.
Example: |
Figure 5: CRUD Properties - UI (Add)
...