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

Adding rtl for fixed header table #165

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

Conversation

alisesan
Copy link

When UI is right-to-left, the library has to fix header of the table in the opposite side. The first column has to be in right side and also the scroll has to change.

For that, I add a setting to know if the direction of the body is 'rtl'. Then you add 'data-rtl' with 'fht-fixed-column' class.

With the settings you can set a correct functionality of scroll and using 'data-rtl' you can apply the correct css style.

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.

1 participant