Skip to content

Conversation

@garaboncias
Copy link

No description provided.

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)
@davidjnelson
Copy link
Owner

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.

@davidjnelson
Copy link
Owner

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.

@davidjnelson
Copy link
Owner

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!!!!

@garaboncias
Copy link
Author

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
as directive not element. I mean this:

... headers ... <--- repeated row

in that case maybe you can use the standard angular transclude functions,
not harmned by anonymous tables [
http://www.w3.org/TR/CSS2/tables.html#anonymous-boxes]

2013/9/17 David Nelson [email protected]

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!!!!


Reply to this email directly or view it on GitHubhttps://github.com//pull/28#issuecomment-24567206
.

@davidjnelson
Copy link
Owner

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.

@garaboncias
Copy link
Author

:/
that's bad news. Exactly why i change for angular-table because it use
table not divs and therefore rows are getting bigger when i have higher
content.
I don't know how will you implementing but I thing ng-grid use it a bad way
as it has fixed row height.
extjs and kendo just use table...
divs (with or without css table layout) imho are not better...
L

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
and not being a root element issue, so I can use directives more as they
are intended to be used.


Reply to this email directly or view it on GitHubhttps://github.com//pull/28#issuecomment-24617404
.

@davidjnelson
Copy link
Owner

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!!

@davidjnelson
Copy link
Owner

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!!

@garaboncias
Copy link
Author

if you want to implement that way the scrollbar looks like if all of the
data loaded - to jump anywhere easily in the data. It's need fixed height
row.
This is my other problem:
http://plnkr.co/edit/65PFcBCVmKGosolitcQN?p=preview
it can avoid if you use:
display:table-row, table-cell.
but in this case why not use table semantics for a table?

2013/9/18 David Nelson [email protected]

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!!


Reply to this email directly or view it on GitHubhttps://github.com//pull/28#issuecomment-24630553
.

@rosslavery
Copy link

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.

@davidjnelson
Copy link
Owner

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.

@davidjnelson davidjnelson reopened this Oct 11, 2013
@davidjnelson
Copy link
Owner

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!!!
Best,
David

p.s. Do you prefer to be called Radics, or a different name? Thanks!

remove copy on watch
modify table css for scroll
@garaboncias
Copy link
Author

Hi David!
Here is my version, i push some more little modification. One is very
important: to not copy model data on angular watch .
https://dl.dropboxusercontent.com/u/68171863/angular-table/index.html
L

2013/10/12 David Nelson [email protected]

Hi Radics,

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 man!!!
Best,
David


Reply to this email directly or view it on GitHubhttps://github.com//pull/28#issuecomment-26181781
.

@davidjnelson
Copy link
Owner

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?

@davidjnelson
Copy link
Owner

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.

@davidjnelson
Copy link
Owner

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.

@garaboncias
Copy link
Author

I can't reproduce this resize bug.
But i see the touch bug in simulator, it's definitely a bug. I thing
something like this would be preferred (
http://stackoverflow.com/a/14594311/2190787)

Other: The live reload script in the bottom of the index.html page is make
my safari waiting forever to load the page.

2013/10/13 David Nelson [email protected]

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.


Reply to this email directly or view it on GitHubhttps://github.com//pull/28#issuecomment-26209745
.

@davidjnelson
Copy link
Owner

Hi Radics,

To reproduce it, what I did was:

Best,
David

@davidjnelson
Copy link
Owner

I also see the header columns not lining up with the other columns in safari latest and firefox latest on osx too.

@davidjnelson
Copy link
Owner

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.

@garaboncias
Copy link
Author

strange, because i also use mountain lion and i have no layout issue no
with chrome, ff, safari or opera.

2013/10/14 David Nelson [email protected]

Actually, the version prior to your pull request has the same issue in
firefox.


Reply to this email directly or view it on GitHubhttps://github.com//pull/28#issuecomment-26236250
.

@AlJohri
Copy link

AlJohri commented Feb 21, 2014

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

<div class="angularTableTableContainer" style="height: 0px;">

@AlJohri
Copy link

AlJohri commented Feb 21, 2014

@garaboncias I can also reproduce the shifted headers error on OSX Mavericks Chrome Version 32.0.1700.107

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.

4 participants