Skip to content

Support for Excel Dropdown (Data Validation List) Generation #580

Description

@prathzzzz

It would be helpful to have built-in support for generating Excel dropdown fields (Data Validation Lists) when exporting or writing Excel files.

Currently, when creating a worksheet, we have to manually configure data validation rules to simulate dropdown behavior. Native support or helper utilities for defining dropdowns would simplify implementation and reduce boilerplate.

Use Case:
• Create predefined selectable values in a column (e.g., Status, Category, Location)
• Prevent invalid inputs and ensure consistent data entry
• Improve usability for end users working in Excel

Expected Behavior:
Provide an API or configuration option to:
• Define dropdown values for a cell or range
• Optionally reference values from another sheet or named range
• Support updating or clearing dropdowns

Example Scenario:
• Column C should allow only: ["Active", "Inactive", "Pending"]
• When exported, Excel should recognize it as a dropdown

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions