Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
English |
---|
This article describes the ways to filter records based on the value in the request parameter. |
Thai |
---|
บทความนี้อธิบายวิธีการกรองระเบียนตามค่าในพารามิเตอร์การร้องขอ |
Figure 1: Designing in Datalist Builder - Determine the column name
...
Thai |
---|
รูปที่ 1: การออกแบบในตัวสร้างดาต้าลิสต์ - กำหนดชื่อคอลัมน์ ก่อนอื่นกำหนดชื่อคอลัมน์ที่คุณต้องการกรอง ในตัวอย่างตามที่อธิบายไว้ข้างต้น (รูปที่ 1) เราจะใช้ "การอนุมัติ" เป็นคอลัมน์ที่จะถูกกรอง |
Figure 2: Designing in Datalist Builder - Adding the filter
Then, go to Source->Select Source of Data (Binder) (Advanced Form Data Binder)->Advanced, and add in the appropriate Extra Filter Condition.
...
Code Block |
---|
e.customProperties.approval = '#requestParam.status#Approved' |
Figure 3: Designing in Datalist Builder - Adding the filter
...
Thai |
---|
รูปที่ 3: การออกแบบในตัวสร้างดาต้าลิสต์ - การเพิ่มตัวกรอง นอกจากนี้ยังเป็นไปได้ที่จะเพิ่ม Advanced Form Row Data Binder แถวข้อมูลขั้นสูงของแถวตามที่แสดงในรูปที่ 3 |
Figure 4: Filtering in Userview
As depicted in Figure 4, the listing will now take the request parameter word "statusApproved" into consideration now when displaying the records.
...