Skip to content

Implement column types to allow constraining input #7

Open
@krassowski

Description

@krassowski

Idea: implement a column-wise validation of the user input using the column types feature of jExcel.

I frequently find myself having to work with the spreadsheets having mistakes in data entry process (like dates being in UK and US format). Having the (optional) column types could alleviate at least some of the problem (i.e. decrease probability of myself and you from creating invalid files; cannot help about the other Excel users though).

The design idea is to have a bar above the column names with a drop-down allowing to choose column type. By default all would be "text", and the bar would be hidden. On pressing a toolbar button the bar with type drop-downs would show up and the user would be able to choose the column type.

Questions to the community/users/myself:

  • should the information about column types be stored in the CSV/TSV file?
  • if yes, is there any standard specifying how to store the column type information?
  • should we allow full-featured html entries (such as photos, see the jExcel example)? How would we save those?
  • column types have options (e.g. mask for currency, or choices for dropdown); how those should be specified? Should those be saved as well?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions