-
Notifications
You must be signed in to change notification settings - Fork 29
some fix #28
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
base: master
Are you sure you want to change the base?
some fix #28
Conversation
2. sort state fix (issue davidjnelson#24) 3. scope is now inherited (issue davidjnelson#8) 4. less verbose markup (sort-arrow-ascending and sort-arrow-descending are optional markup)
|
Wow, this is awesome, thank you! I'll take a look as soon as I get my computer back from apple. It's in the shop for a repair. |
|
I'm still working through this. Sorry it's taking so long! I really appreciate your contribution. I added you to the contributors at the top of the http://angulartable.com site. |
|
Thanks so much for your contribution. I love what you've done. I've decided to take angular-table in a new direction for 1.1.0, re-writing it from scratch using TDD to address many architectural issues that version 1.0.0 had which lead to bugs. I've been deeply inspired by your ideas, and will incorporate them into 1.1.0. When 1.1.0 is released, I encourage you to keep forking and submitting pull requests. As I mentioned, I've listed you as a contributor at the top of the project homepage. Thanks again!!!! |
|
I'm looking forward for Angular Table 1.1. I really like this library. Something come in my mind some weeks ago: Did you think about use attribute in that case maybe you can use the standard angular transclude functions, 2013/9/17 David Nelson [email protected]
|
|
Thanks Radics! :-) Ya, what I'm doing with 1.1 is actually doing it all with divs. The primary motivation is because I'm going to do virtualization, so a table with millions of rows can be handled by adding and removing items from the dom as it's scrolled. But a nice side effect is that I don't have to deal with the tr and td not being able to be used as a root element issue, so I can use directives more as they are intended to be used. |
|
:/ 2013/9/17 David Nelson [email protected]
|
|
This is a very important insight. So with a div, let's say you make something bigger by making it be font-size: 40px or whatever. It doesn't stretch the div? I'll create a plunkr, if you want to explore it with me. I want to make sure this is the best angular grid in existence. Plunkr: http://plnkr.co/edit/N5TxHtLn2nFdXSYcMoYI?p=preview It seems ok. Can you edit the plunk a bit to explain why the div approach limits what you want to do? I would be super grateful. Thanks so much!! |
|
I'm comparing big text in a div versus in a table in the plunk. http://plnkr.co/edit/N5TxHtLn2nFdXSYcMoYI?p=preview To me, it looks the same. I want to understand your concern though. Can you explain it in terms of the plunker? I'll definitely make sure there is not a fixed row height, I think that would be horrible as well. Thanks so much Radics!! |
|
if you want to implement that way the scrollbar looks like if all of the 2013/9/18 David Nelson [email protected]
|
|
To add to what @garaboncias was saying, the main reason I use this library is that it doesn't use div tags and absolute positioning for virtualized scrolling. A major limitation of nggrid is that because it uses absolutely positioned divs to create it's rows, having rows of variable heights is very challenging, since the height of the row needs to be fixed in order to calculate the top offset for each row. This limits the ability to have things like a row that expands to show more detail, since the row height is fixed. |
|
Thanks guys. The reason I was thinking of moving away from tables was for virtualized scrolling ( removing dom elements from the top and adding to the bottom when the user scrolls down ). It's my understanding that tables don't work well for this use case. So I need to see if I can get divs to be able to auto resize like you guys need. I think both use cases ( auto resizing grid cells, and virtualized scrolling are important, and both need to work at the same time ). I'd love to hear both of your take on this. Thanks guys. |
|
Hi Radics ( @garaboncias ), It is taking me far too long to release version 1.1, and since you did such a great job fixing so many bugs I want to get your pull request merged as 1.0.1. When I tried using it, it didn't really seem to work. I may have done my merge incorrectly, and it's certainly my fault for not having unit tests in place. If you feel like it, would you mind putting your proposed version up somewhere alongside the demo that I link to in the github doc ( http://angulartable.com/demo/index.html )? Then we can look at it together and work on getting the pull request merged. Thanks so much Radics!!! p.s. Do you prefer to be called Radics, or a different name? Thanks! |
remove copy on watch modify table css for scroll
|
Hi David! 2013/10/12 David Nelson [email protected]
|
|
Looks great! I must have done my merge wrong when I tested it before, sorry about that! I'm noticing a little issue when running it on my ipad 4. The cell selection highlights a cell between zero to five rows down in a darker color for a short amount of time, then highlights the correct cell shortly thereafter. It doesn't do it at on the top rows, and as you go further down the rows it highlights the wrong cell temporarily on a further down row. It seems to top out around five rows below for the flicker. Are you able to reproduce that one? |
|
Looking at it on my macbook pro, I don't see that. It's probably the row hover color rendering weird on mobile webkit. We might want to just disable the hover on mobile - hopefully there's a media query for that, not sure. |
|
I noticed that when I remove all 50 rows, then add 50 rows back, the column headers don't resize so that they line up. |
|
I can't reproduce this resize bug. Other: The live reload script in the bottom of the index.html page is make 2013/10/13 David Nelson [email protected]
|
|
Hi Radics, To reproduce it, what I did was:
Best, |
|
I also see the header columns not lining up with the other columns in safari latest and firefox latest on osx too. |
|
Actually, the version prior to your pull request has the same issue in firefox. There's actually a bug entered for it. But now it also happens on chrome and safari, with the pull request applied. |
|
strange, because i also use mountain lion and i have no layout issue no 2013/10/14 David Nelson [email protected]
|
|
I'm having a related issue where my angularTableTableContainer is set to height: 0px since I'm starting with an empty table. When I load my data via AJAX the height does not update. Would this commit be the solution? garaboncias@2b5a32a |
|
@garaboncias I can also reproduce the shifted headers error on OSX Mavericks Chrome Version 32.0.1700.107 |

No description provided.