Hi,
Are there any OOTB table components with sort, filter, and column search options?
Or suggest how we can achieve it?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @akhilraj ,
I don't think there is any OOTB table component with the given requirements and you might have to end up creating a custom one. Please refer to the below link which has a video explaining custom table component implementation with some additional features
Thanks,
Anil
Hi @akhilraj ,
I don't think there is any OOTB table component with the given requirements and you might have to end up creating a custom one. Please refer to the below link which has a video explaining custom table component implementation with some additional features
Thanks,
Anil
Hi ,
OOTB table components in AEM with functionalities such as sort, filter, and column search are not specifically listed as a comprehensive component with all these capabilities combined. However, there are ways to achieve them by leveraging existing components and custom development:
Data Table Component:
Filters and Sorting in Adobe Products:
AEM doesn’t have an OOTB table component with sort, filter, and column search, but you can achieve it by:
Using AEM Core Table Component as a base (simple table structure).
Adding JavaScript libraries like DataTables.js for sorting, filtering, and search functionality.
Example:
$(document).ready(function() {
$('#example').DataTable();
});
Optionally, implement server-side processing to handle large data sets efficiently.
You can extend the Core Table component and integrate these libraries to get the features you need!
Hi @akhilraj
You need to integrate the third party table library which provides that functionality and target the table class globally to enable the table with sort functionality.
Or you can use style system to add a custom CSS class and only those tables will have the logic coming from the table JS library
Views
Replies
Total Likes