-
Notifications
You must be signed in to change notification settings - Fork 2.5k
scrollTo doesn't work with higher rowHeight #4776
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
Comments
Can $http.get support cross domain? |
Sorry but I don't get it. Is that related to my question? |
sorry not related. that just my a question |
@projectX21 the problem is here where you can see:
here the
|
Thank you very much for this hint! But is there a possibilty to get this work without modifing the source code? |
Meh.. I don't think so. Unless you can afford to have headers as high as the rows are. |
Here's a modified version of the plunkr, I had to add a minified version of ui-grid.js because of size issues. |
fix(core): Fix #4776 scrollTo doesn't work with higher rowHeight
@JLLeitschuh any idea when the |
But ist there an option to define the height of the header? On the wiki page I don't find such a property. |
…eight Change the way pixelsToSeeRow variable is calculated. This way is possible to have different heights for rows and column headers.
This issue is still not fixed. See http://plnkr.co/edit/aIxHXHKTSlxeSDavfqtR?p=preview . When pressing Scroll to top it scrolls to row with id 498. Scrolling is not really correct, row is only partially visible (with header height). So, now, scrolling as first row works well but scrolling as last row is broken. See also comments from #4204 , which is a duplicate issue. |
Hello everyone,
I've found a little Bug:
If you use a custom rowHeight, the scrollTo will not scroll exactly to the specified row.
I have a little example:
http://plnkr.co/edit/bO4JGSCeraASMTZ04zhA?p=preview
When you scroll down, and click the button "Go to top" afterwards, it will not scroll exactly to the first row.
Do you have a workaround for that problem? This is needed in my project.
Thank you for your help!
The text was updated successfully, but these errors were encountered: