'How to add sorting and searching functionality in dynamically added table using ngx-formly in angular

I have just started using ngx-formly and added some dynamic controls to a page. I was wondering if there is a way to add sorting and searching functionality on a table dynamically created using angular ngx-formly? Something like the screenshot. Perhaps a setting to be put into templateOptions inside the FormlyFieldConfig ?- or adding a wrapper? Would appreciate some suggestions.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source