You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

Form ID

Table Name

leaveApplication

leave_application

leaveDetails

leave_details

Relationship: One leave application has multiple leave details.

ความสัมพันธ์: แอปพลิเคชั่นลาหนึ่งมีรายละเอียดการลาหลาย

Parent Form: leaveApplication

แบบฟอร์มผู้ปกครอง: leaveApplication

Child Form: leaveDetails

แบบฟอร์มเด็ก: leaveDetails

Configuring the Grid

การกำหนดค่ากริด

Storing Data

การจัดเก็บข้อมูล

By default, data will be stored in JSON format in the parent table.

โดยค่าเริ่มต้นข้อมูลจะถูกจัดเก็บในรูปแบบ JSON ในตารางหลัก

Storing in Separate Table

การจัดเก็บในตารางแยก

Data can be stored using the Multirow Form Binder set as the Store Binder and Load Binder.

ข้อมูลสามารถจัดเก็บได้โดยใช้ Multirow Form Binder ตั้งเป็น Store Binder และ Load Binder

In the selected table, one must create a field to keep the parent ID.

ในตารางที่เลือกเราต้องสร้างเขตข้อมูลเพื่อเก็บ ID หลัก

Note: Every "value" in the Grid properties must match their corresponding fields in the selected table.

หมายเหตุ: "ค่า" ทุกรายการในคุณสมบัติกริดต้องตรงกับฟิลด์ที่เกี่ยวข้องในตารางที่เลือก



Each child record must have a unique ID as the primary key.

Table: leave_application

แต่ละระเบียนย่อยต้องมี ID ที่ไม่ซ้ำกันเป็นคีย์หลัก

ตาราง: leave_application

id

name

....

1550

David

....

Table: leave_details

ตาราง: left_details

id

leave_application_id

...

800

1550

....

801

1550

...

802

1550

...

Related Tutorial

บทแนะนำที่เกี่ยวข้อง



  • No labels