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

Do you also have sticky table columns feature or script? #249

Open
rajuaryan21 opened this issue Jul 26, 2023 · 3 comments
Open

Do you also have sticky table columns feature or script? #249

rajuaryan21 opened this issue Jul 26, 2023 · 3 comments

Comments

@rajuaryan21
Copy link

Hi,

imagine a scenario where you need to show 3 or 4 columns freeze while scrolling a big chunk of column data. You can have a sticky header or sticky columns and it can stick to left or right or both.

It would be nice to have such an HTML dom script in vanilla javascript. There are a few on jquery but many, including me, are big fans of using pure JavaScript.

Let me know if this is possible to include in your arsenal.

Thanks,
Raj

@rajuaryan21
Copy link
Author

for reference, you can check this one: https://examples.bootstrap-table.com/#extensions/fixed-columns.html

@rajuaryan21
Copy link
Author

and this one also: https://mui.com/x/react-data-grid/column-ordering/

Here you see the menu items that pop up on clicking the three vertical dots in each table header column. It says pin to left or pin to right seems impressive.

@elkarouani
Copy link
Contributor

Hi @rajuaryan21, I saw the example of bootstrap you provided, so first I think if it is possible using bootstrap it will be also possible using also just CSS, inspecting the example would help understanding how it works.

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

No branches or pull requests

2 participants