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

fixed right column #8

Open
sxv opened this issue Jan 30, 2013 · 1 comment
Open

fixed right column #8

sxv opened this issue Jan 30, 2013 · 1 comment

Comments

@sxv
Copy link

sxv commented Jan 30, 2013

Great library. I'm trying to fix/freeze the right-most column. Is there an elegant way to do this using the API or should I start hacking at it? Thanks!

@mmurph211
Copy link
Owner

Unfortunately it would have to be a hack for now. There are numerous places where the source would have to be changed depending on what options you'd want enabled.

I would look to the following CSS classes and JS methods:
.g_BodyFixed - Left property to right
.g_BodyFixed2 - Left property to right
addSelectionColumn() - Use push instead of unshift
generateGridSection() - Need to reverse the if statement in the while loop
alignColumns() - Need to reverse the if statement in the for loop
highlightRows() - Need to reverse some ternary if statements

This is just a rough analysis from me combing through the source code. There may be more areas needed to change. Hope this helps.

Matt

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