Skip to content

How to allow cells to have multi-line text? #374

Description

@rau

Hey, currently trying to make my cells work with multi-line text (i.e. respect whitespace pre-wrap).

I can't figure out how to do that. Here's the code I'm trying, but it's not working.

Is there a prop I can enable on the spreadsheet component that allows my cells to have multi-line text?

<Spreadsheet
  data={data}
  onChange={handleDataChange}
  onBlur={handleBlur}
  columnLabels={columnLabels}
  className='!whitespace-pre'
  hideRowIndicators={true}
/>

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions