Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
I do not understand your question. I tried a simple code like below for a form grid:
import org.joget.apps.form.model.Element; import org.joget.apps.form.model.FormData; import org.joget.apps.form.model.FormRow; import org.joget.apps.form.model.FormRowSet; import org.joget.apps.form.service.FormUtil; import org.joget.plugin.base.PluginManager; import org.joget.apps.form.model.FormLoadBinder; public FormRowSet load(Element element, String primaryKey, FormData formData) { FormRowSet rows = new FormRowSet(); rows.setMultiRow(true); FormRow row = new FormRow(); row.setProperty("value", "55555"); row.setProperty("text", "Laugh"); rows.add(row); return rows; } //call load method with injected variable return load(element, primaryKey, formData);
The code above works so this is not a Joget problem. I need more information regarding your plugin.
Thanks a lot!
It was just missing the following line
rows.setMultiRow(
true
);
Hi,
I am trying to implement a multirow form load binder to have custom rows but it doesnt work. The form grid doesnt display my rows.
Is someone already used successfully a multirow form load binder plugin and could explain me how it works?
Please don't answer me with a link to the documentation, it's rather useless...
Thanks,
Olivier