In this post I will explain a way to implement checkbox in the rows of ADF Table component. This is a generic approach and can also be used in other components but we will take example of table component for this post.
This is common requirement in many features e.g. Multiple Delete or assigning multiple things by selecting checkbox.
Lets dive into the implementation.
Created a simple ADF app with HR Schema using Departments Table. Created DepartmentsEO,VO and AM.
First since we need a checbox in every row of the Departments table, we need to add a transient attribute in DepartmentVO of Type Boolean. The value of this boolean (false or true) will render the checkbox as (checked or unchecked).
This is common requirement in many features e.g. Multiple Delete or assigning multiple things by selecting checkbox.
Lets dive into the implementation.
Created a simple ADF app with HR Schema using Departments Table. Created DepartmentsEO,VO and AM.
First since we need a checbox in every row of the Departments table, we need to add a transient attribute in DepartmentVO of Type Boolean. The value of this boolean (false or true) will render the checkbox as (checked or unchecked).
