Skip to content
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

Tabulator Frozen Column Positions #5901

Closed
CTPassion opened this issue Nov 21, 2023 · 5 comments
Closed

Tabulator Frozen Column Positions #5901

CTPassion opened this issue Nov 21, 2023 · 5 comments
Labels
component: tabulator Related to the Tabulator widget type: enhancement Minor feature or improvement to an existing feature

Comments

@CTPassion
Copy link
Contributor

Is your feature request related to a problem? Please describe.

I want to freeze two columns in my pn.Widgets.Tabulator but when I do so they are moved to be the first columns of the table.

Describe the solution you'd like

I want their position to be customizable or at least remain where they were. They were originally the columns the furthest right representing a TOTAL and EXPECTED value. I would like to freeze them on the right and be able to scroll across the other columns before them.

Describe alternatives you've considered

Having them unfrozen and scrolling to the end of the table
If anyone can think of a workaround for now, I am happy to use that.

Additional context

Add any other context or screenshots about the feature request here.
Frozen:
image

Unfrozen:
image

@maximlt maximlt added component: tabulator Related to the Tabulator widget type: enhancement Minor feature or improvement to an existing feature labels Nov 21, 2023
@maximlt
Copy link
Member

maximlt commented Nov 21, 2023

Hi @CTPassion, it looks like Tabulator allows to freeze the right most columns (see https://tabulator.info/docs/5.5/layout#frozen-column) so that's a feature that could be implemented in Panel. Do you want to give it a try?

@CTPassion
Copy link
Contributor Author

@maximlt If I get time I will give it a try :)

@suryako
Copy link

suryako commented Feb 5, 2024

Ran into this too! @CTPassion did you have any luck? Can give it a try otherwise! :)

@CTPassion
Copy link
Contributor Author

Ran into this too! @CTPassion did you have any luck? Can give it a try otherwise! :)

Yes I did do it and was easy to implement, I just need to get it in a PR. Will attempt tonight :)

@CTPassion
Copy link
Contributor Author

Hi @CTPassion, it looks like Tabulator allows to freeze the right most columns (see https://tabulator.info/docs/5.5/layout#frozen-column) so that's a feature that could be implemented in Panel. Do you want to give it a try?

I have opened a PR #6309

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: tabulator Related to the Tabulator widget type: enhancement Minor feature or improvement to an existing feature
Projects
None yet
Development

No branches or pull requests

4 participants