Back to articles
Empowering Administrators: Adding Plan Filters to Tables in Landing

Empowering Administrators: Adding Plan Filters to Tables in Landing

via Dev.to JavaScriptGerardo Andrés Ruiz Castillo

This post details the recent enhancements to the devlog-ist/landing project, focusing on empowering administrators with advanced filtering capabilities within user and tenant tables. The Goal The primary goal was to enhance the administrative interface of the landing project, allowing for more efficient management of users and tenants. This was achieved by introducing plan-based filtering options to the respective tables, providing administrators with the ability to quickly isolate and manage specific subsets of users and tenants based on their associated plans. Implementation The implementation focused on modifying the table components responsible for rendering user and tenant data. The core change involved adding a new filter control that allows administrators to select specific plans. Once a plan is selected, the table updates to display only those users or tenants associated with the chosen plan. function filterData ( data , selectedPlan ) { if ( ! selectedPlan ) { return data ; //

Continue reading on Dev.to JavaScript

Opens in a new tab

Read Full Article
3 views

Related Articles