Introduction
Have a look at designer api
Basic Initialization
<script>
const designerDiv = document.getElementById("designer");
const designer = AnkaReport.designer({ element: designerDiv });
</script>
Full Initialization
<script>
const designerDiv = document.getElementById("designer");
const designer = AnkaReport.designer({
element: designerDiv,
dataSource: dataSource,
layout: layout,
onSaveButtonClick: (layout) => {
console.log(layout);
},
});
</script>