-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the applicationIntroduction of new functionality to the application
Milestone
Description
Environment
- Python version: 3.6.9
- NetBox version: 2.8.9
Proposed Functionality
Rework the built-in CSV export functionality to export only the data shown in the table, with the columns in the same order.
Use Case
Following the implementation of #492, users are now able to customize object lists by adding, removing, and rearranging table columns. However, the default CSV export for each model is static and does not change. Allowing the CSV export to dynamically adapt along with the table display provides a more consistent user experience and obviates the need for writing custom export templates for minor changes. We also may be able to leverage the built-in export functionality that django-tables2 provides.
Database Changes
None
External Dependencies
tablib will be required if we opt to use django-tables2's export functionality.
phurrelmann, jbakklund, proudbro and lastwednesday
Metadata
Metadata
Assignees
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the applicationIntroduction of new functionality to the application