Handle Event in React
Handle Event in React
<ActionMenuComponent
menuItems={[
{
name: 'Bulk-Assign-AP',
onClickFun: multipleUpdate,
id: `${customId}_Update-Multiple-AP`,
disabled: !(showCheckBox === !canManageRecord)
}
]}
/>
attendancePatternCode ? [
{
name: 'Assign-AP',
onClickFun: handleAssignAp(personId),
id: `${customId}_Update-Multiple-AP`,
disabled: !(showCheckBox === !canManageRecord)
},
{
name: 'View-Details',
onClickFun: handleViewAp(attendancePatternCode,
personId),
id: `${customId}_Update-Multiple-AP`,
disabled: !(showCheckBox === !canViewRecord)
}
] :[
{
name: 'Assign-AP',
onClickFun: handleAssignAp(personId),
id: `${customId}_Update-Multiple-AP`,
disabled: !(showCheckBox === !canManageRecord)
}]
rowMenuButton: {
paddingTop: '0rem',
paddingBottom: '1.5rem'
}
In case of death to employee due to accident, and the person is having already a
personal term insurance policy.
Still both Group medical(2 times of CTC) and Term life(2 times of CTC) will be paid
to employee?
<ActionMenuComponent
menuItems={[
{
name: 'actionMenuText',
onClickFun: () => updateDefault(atpRecord, !atpRecord.default),
id: '',
},
{
name: 'Edit',
onClickFun: () => onClickEdit(updatedDescription),
id: "MenuListEdit"
}
]}
/>