We have wordpress admin interface for “all posts” list. Sortable column methods are available for “custom post type”.
But can we not implement this type of wp-admin
like interface with sortable columns in any reporting/table in our any custom plugin that show a tabular report or listings fetched from database?
You should create your own class extending
WP_List_Table
.To get a point where start look how WordPress itself use that class for posts, creating the
WP_Posts_List_Table
class.