Skip to content

implement right frozen #3671

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

robert-luoqing
Copy link

I'm not override frozen to left | right | null, I just add rightFrozen property. It will not break original version.

I'm not override frozen to left | right | null, I just add rightFrozen property. It will not break original version.
@eshwaruppala
Copy link

this is a necessary feature

@iamrakhmatov
Copy link

@amanmahajan7 any news on this?

@ksparakis
Copy link

ksparakis commented Jul 23, 2025

Whats needed to get this across the finish line? willing to put resources on it
@amanmahajan7 @nstepien

@shubh-philips
Copy link

Any update on this feature merging?

@@ -39,6 +39,8 @@ export interface Column<TRow, TSummaryRow = unknown> {
readonly colSpan?: Maybe<(args: ColSpanArgs<TRow, TSummaryRow>) => Maybe<number>>;
/** Determines whether column is frozen or not */
readonly frozen?: Maybe<boolean>;
/** Determines whether column is right frozen or not */
readonly rightFrozen?: Maybe<boolean>;
Copy link
Contributor

Choose a reason for hiding this comment

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

I would rather not add a new prop that can cause conflicts. What happens when both rightFrozen and frozen props are set? We can instead change frozen to boolean | 'left' | 'right'.

@@ -52,13 +52,15 @@ export function useCalculatedColumns<R, SR>({
const defaultResizable = defaultColumnOptions?.resizable ?? false;
const defaultDraggable = defaultColumnOptions?.draggable ?? false;

const { columns, colSpanColumns, lastFrozenColumnIndex, headerRowsCount } = useMemo((): {
const { columns, colSpanColumns, lastFrozenColumnIndex, rightFrozenColumnCount, headerRowsCount } = useMemo((): {
Copy link
Contributor

Choose a reason for hiding this comment

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

All the new functionality needs extensive tests

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.

6 participants