ตามธรรมเนียม |
Used to extend methods of executing an action on list item. E.g. Delete a record
ใช้เพื่อขยายวิธีการดำเนินการกับรายการ เช่น. ลบบันทึก |
Datalist Action Plugin can be used as Datalist row action as single record action or as whole list action for multiple records. It also can use in individual column by configure it in Column - Action Mapping.
ปลั๊กอินการกระทำดาต้าลิสต์สามารถใช้เป็นแอคชั่นแถวดาต้าลิสต์เป็นการกระทำแบบเรคคอร์ดเดี่ยวหรือการกระทำแบบรายการทั้งหมดสำหรับหลาย ๆ นอกจากนี้ยังสามารถใช้ในแต่ละคอลัมน์โดยกำหนดค่าใน Column - Action Mapping. |
A useable Datalist Action Element plugin must extends org.joget.apps.form.model.Element abstract class.
ปลั๊กอินองค์ประกอบ Datalist ที่ใช้งานได้จะต้องขยายคลาสนามธรรม org.joget.apps.form.model.Element |
ชั้นนามธรรม |
Under wflow-core module
ภายใต้โมดูล wflow-core |
Extended org.joget.plugin.base.ExtDefaultPlugin. Please refer to Plugin Base Abstract Class and Interface.
ขยาย org.joget.plugin.base.ExtDefaultPlugin โปรดอ้างอิงถึง Plugin Base Abstract Class and Interface |
Implemented org.joget.plugin.property.model.PropertyEditable. Please refer to Plugin Base Abstract Class and Interface.
ดำเนินการ org.joget.plugin.property.model.PropertyEditable โปรดอ้างอิงถึง Plugin Base Abstract Class and Interface |
A base abstract class to develop a Datalist Action Plugin.
คลาสนามธรรมพื้นฐานเพื่อพัฒนาปลั๊กอินการทำดาต้าลิสต์ |
รายละเอียดวิธีการ |
วิธีการเชิงนามธรรม |
public java.lang.String getLinkLabel()
Descriptive name for the action
public java.lang.String getHref()
Optional link to a URL
public java.lang.String getTarget()
Optional link to a URL
public java.lang.String getHrefParam()
Name of the parameter if linked, separated by semicolon ";" if has multiple.
public java.lang.String getHrefColumn()
Name of the column to use for the param value if linked, separated by semicolon ";" if has multiple.
public java.lang.String getConfirmation()
Message for confirmation
public org.joget.apps.datalist.model.DataListActionResult executeAction(org.joget.apps.datalist.model.DataList dataList,java.lang.String[] rowKeys)
Method to perform the action on selected rows
public java.lang.Boolean getVisibleOnNoRecord();
Flag that decide to show an action object or not
Default to the value of property "visible".
ตัวเลือกคุณสมบัติปลั๊กอิน |
Please refer to Plugin Properties Options for more information.
โปรดดูตัวเลือก Plugin Properties Options สำหรับข้อมูลเพิ่มเติม |
คุณสมบัติที่กำหนดไว้ล่วงหน้า |
มองเห็นได้ |
getVisibleOnNoRecord method use this value to decide whether or not show this action when no record in the datalist
เมธอด getVisibleOnNoRecord ใช้ค่านี้เพื่อตัดสินใจว่าจะแสดงแอ็คชันนี้หรือไม่เมื่อไม่มีเร็กคอร์ดในรายการข้อมูล |
{ label : '@@datalist.hyperlinkdatalistaction.visible@@', name : 'visible', type : 'checkbox', options : [ {'value' : 'true', 'label' : ''} ] } |
สอน |
ปลั๊กอินที่เกี่ยวข้อง |
การกระทำลบแบบฟอร์มแถว |
รายการข้อมูลการกระทำเชื่อมโยงหลายมิติ |