-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(TableWidget): Implement cell wrapping functionality
This commit adds cell wrapping support to the Table widget with the following changes: - Add allowCellWrapping property that controls text wrapping behavior in table cells - Update cell styling to use break-spaces and word-break when wrapping is enabled - Adjust cell height calculations to accommodate wrapped content - Disable virtual scrolling when any column has cell wrapping enabled for better rendering - Update inline cell editor height to be dynamic when wrapping is enabled Key changes: - TableStyledWrappers.tsx: Add conditional cell wrapping styles (lines 579-588) - InlineCellEditor.tsx: Update height calculation for wrapped cells (lines 49-62) - Table.tsx: Disable virtual scrolling when cell wrapping is enabled (lines 330-334) - PlainTextCell.tsx: Add content height detection for wrapped cells (lines 102-107) This improves content visibility in table cells by allowing text to wrap instead of being truncated with ellipsis, while maintaining performance optimizations where possible.
- Loading branch information
1 parent
027db2d
commit 14ce4cb
Showing
3 changed files
with
32 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters