Renders a two-column drag-and-drop interface for reordering items between a left and right container.
DRAGULA — set as ReportType in def_report.
def Render(self, Param1="", Param2="", Param3="") -> str:
Params are unused. Populates the left column from self.data_list (each row's first element is used as the item label). The right column starts empty. Returns an HTML fragment with inline CSS and a Dragula script block.
Options read from self._Options JSON:
| Key | Effect |
|---|---|
left_header |
Heading text for the left column (default: "Left Column") |
right_header |
Heading text for the right column (default: "Right Column") |
background-color |
Container background colour (default: "#3d3d3d") |
box-color |
Individual item background colour (default: "#646666") |
text-color |
Item text colour (default: "#ffffff") |
Loads Dragula 3.7.3 CSS and JS from cdnjs. The library is also added as a local resource via self.add_resource_css("dragula.css") and self.add_resource_script("dragula.min.js").