As a user, I want the ability to customize the export options in the UDDataGrid component within PowerShell Universal, specifically to remove the default "Download as CSV" and "Print" options and add custom export options. For example, I want to add options such as "Export All (xlsx)" and "Export Filtered (xlsx)" to handle large datasets and custom Excel formatting.
Provide the ability to hide or remove the default export options (e.g., "Download as CSV," "Print") in the UDDataGrid dropdown menu.
Allow users to add custom export options, such as "Export All" and "Export Filtered" in Excel format.
Ensure that the $EventData from the grid can be accessed in the export event handler, allowing users to write custom queries to fetch the correct data.
Enable formatting the data before exporting, so that the export output meets specific requirements in Excel format.
Summary of the new feature / enhancement
As a user, I want the ability to customize the export options in the UDDataGrid component within PowerShell Universal, specifically to remove the default "Download as CSV" and "Print" options and add custom export options. For example, I want to add options such as "Export All (xlsx)" and "Export Filtered (xlsx)" to handle large datasets and custom Excel formatting.
Proposed technical implementation details (optional)
Provide the ability to hide or remove the default export options (e.g., "Download as CSV," "Print") in the UDDataGrid dropdown menu. Allow users to add custom export options, such as "Export All" and "Export Filtered" in Excel format. Ensure that the $EventData from the grid can be accessed in the export event handler, allowing users to write custom queries to fetch the correct data. Enable formatting the data before exporting, so that the export output meets specific requirements in Excel format.