Skip to content

port-changes - frozen columns - 7.0.0-beta.47#1

Open
matanAlltra wants to merge 30 commits intomainfrom
port-changes
Open

port-changes - frozen columns - 7.0.0-beta.47#1
matanAlltra wants to merge 30 commits intomainfrom
port-changes

Conversation

@matanAlltra
Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread src/style/core.ts
--rdg-selection-color: #66afe9;
--rdg-font-size: 14px;
--rdg-cell-frozen-box-shadow: 2px 0 5px -2px rgba(136, 136, 136, 0.3);
--rdg-cell-right-frozen-box-shadow: -2px 0 5px -2px rgba(136, 136, 136, 0.3);
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just check if we can override it in the frontend app, so we can apply theming if needed (needed for dark theme already)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've checked and we can, you can take a look at table.css

Comment thread src/utils/domUtils.ts Outdated

export function scrollIntoView(element: Maybe<Element>) {
element?.scrollIntoView({ inline: 'nearest', block: 'nearest' });
// element?.scrollIntoView({ inline: 'center', block: 'nearest' });
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clean

Comment thread src/HeaderCell.tsx Outdated

&:hover {
background: var(--rdg-selection-color);
padding: 5px 0;
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's do duplication of 2/4 (so let's use 4px or 6px here)

Comment thread src/types.ts Outdated
renderCheckbox?: Maybe<(props: RenderCheckboxProps) => ReactNode>;
renderRow?: Maybe<(key: Key, props: RenderRowProps<TRow, TSummaryRow>) => ReactNode>;
renderSortStatus?: Maybe<(props: RenderSortStatusProps) => ReactNode>;
renderCell?: Maybe<(key: Key, props: CellRendererProps<TRow, TSummaryRow>) => ReactNode>;
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revert

Comment thread src/types.ts
/** Render function used to render the content of the column's header cell */
readonly renderHeaderCell?: Maybe<(props: RenderHeaderCellProps<TRow, TSummaryRow>) => ReactNode>;
/** Render function used to render the content of cells */
readonly renderCell?: Maybe<(props: RenderCellProps<TRow, TSummaryRow>) => ReactNode>;
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revert

@odeddoek odeddoek changed the title port-changes - frozen columns port-changes - frozen columns - 7.0.0-beta.47 Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants