tony said:
Hello,
How do you create the checkbox? – manually using the formatter or you just set multiselect to true?
Regards
Tony
Hi Tony,
I created the checkbox using java. Below is the code.
No, i didn't use formatter or multiselect. Please let me know if there is better approach to what i am using.
checkbox.append(
“<input type=\"checkbox\" ").append(“id=\”purchaseOrder[“).append(index).append(“]_[“).append(count).append(“]\””).append(” “
);
checkbox.append(
“name=\”selectedOrderValues\””).append(” “).append(“value=\””).append(element.getPurchaseOrder()).append(“\””).append(” “
);
checkbox.append(
“onclick=\”javascript:clickParentEvent('”).append(index).append(“','”).append(itemElementSize).append(“')”).append(“\””
);
checkbox.append(
“/>”);