Happy-Coding-Clans / vue-easytable

A powerful data table based on vuejs. You can use it as data grid、Microsoft Excel or Google sheets. It supports virtual scroll、cell edit etc.
https://happy-coding-clans.github.io/vue-easytable/
MIT License
3.69k stars 738 forks source link

[Feature Request] Add vertical scrolling class to permit custom styling #543

Closed looeyf closed 1 year ago

looeyf commented 1 year ago

I am opening an issue for

vue-easytable

Issue Type

Feature

Issue Title

Add vertical scrolling class to permit custom styling

What problem does this feature solve?

When using the fixed header and no borders, it isn't possible to create a solution with just CSS (for example, a box-shadow) to separate the header from the table body.

What does the proposed API look like?

When scrolling vertically, add a class to container's element as the horizontal scroll already has. Therefore, it'll be possible to reach any element inside the table and modify its styles with custom classes.

huangshuwei commented 1 year ago

https://github.com/Happy-Coding-Clans/vue-easytable/releases/tag/v2.23.0