I am getting an error: “The type CustomerDefault does not define updateInclBillReceipts(Object, Object) that is applicable here” where the setRenderer() is. The setter function is as below. What does it want, why (Object, Object)?
customerDefaultsGrid.getColumn(AppConstants.BILLING_RECEIPTS).setRenderer(new CheckboxRenderer(CustomerDefault::updateInclBillReceipts)).setCaption(“Billing Receipts”);
public void updateInclBillReceipts(boolean inclBillReceipts) {
this.inclBillReceiptsChanged = true;
this.inclBillReceipts = inclBillReceipts;
}