Hello Report Bro,
Thank you so much for useful library and demos to use an open source drag and drop building tools.
We need to create dynamic json instead of static json to create reports pdf with server side PHP.
Problem what i have facing with element types & drag drop:
=> I need to create different element types in dynamic json of each form & fields and i am unable to create dynamic json same as static json. Because we have various forms and each forms has its fields as i can say children.
if I am creating dynamic within loop so unable to create multiple element type and associated objects :
for ($i = 0; $i < count($results); $i++) {
$results[$i]["elementType"] = "text";
$results [$i]["containerId"] = "0_content";
$results [$i]["x"] = 250;
$results [$i]["y"] = $i * 15 + 100;
}
I checked with different element type table, frame, section it's not working with fields. if I am using element type "text" it's working but i am unable to put it's children's if element type is text.
=> I am unable to drag and drop left fields directly to report building section.
Hope I will get my answers from here.
Thank you
Krishna