-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
md-data-table #581
Comments
Current status: in the initial design / prototyping phase. |
desperately waiting for this and the date picker... an update would be highly appreciated. thanks! |
any news on this? :) |
Waiting for this too... |
when will be the except release of data-table? |
Any hint on when development might be started on this? |
We are an fairly impatient bunch aren't we (myself included)? I wonder if there is something we can do to help rather than just keep pining for updates. As it stands I think this component is still fairly far down on the priority list behind common things like menus, text areas, dialogs, etc. As you can see here: https://github.com/angular/material2/blob/master/README.md#feature-status I desperately want this as well. But it might be a while unless we can do something to help. |
There's a non-official angular material called ng2-material which contains a very nice md-data-table I'm using temporary in my projects. |
is ng2-material compatible with the latest version of material ? |
@FatherDougal, there's a beta version that seems compatible:
or
|
They have just release a new version in the past 24hours |
Any status/update on this... Think most apps want use this |
any update for data table? Thanks. :) |
meanwhile, I am using Twitter Bootstrap, |
No news here?!? |
So glad data tables will find their way into material this time. I used DevExpress for data tables with Angular 1. DevExpress have created a truly outstanding product - their table is more or less an excel table in a browser in terms of data visualization. Having said that, even though the material table will most probably be significantly less powerful (at least at first) I'm so glad I no longer will have to rely on external libraries for this. Thank you ng team! |
Any News about availability ? |
any news here |
How to remove rows from the data table? The table can change values, but when I try to delete a row I could not, the variable is updated, but the table is not updated,, some solution?? |
@brandon1525 you need to change it by creating a new array |
@irowbin Hi, I am also looking for fixed header, did you find on how to do it ? |
just do it with css for sticky header, my md-table is inside div#md-table-wrap and my css looks like this:
and it works fine. |
has anyone figured out how to implement horizontal scroll? /cc: @irowbin |
@leblancmeneses add this css .mat-table{width:100%; overflow: scroll; } |
With regards to the docs on this feature, I still think there is work to be done. Am I right in thinking there is no example anywhere of how to interact with a real backend api ? In the examples there are the following properties Correct me if I am wrong, but I don't see this documented anywhere? |
@georgeedwards Yeah you're right! The angular docs less informative. Most of the docs descriptions are same as the |
@georgeedwards @irowbin I think you guys are definitely right that there is needed documentation, and I appreciate that you are putting a high value on that. At the same time, isn't there sort of an understanding, since this is open source / free software, that Google isn't really obligated to give us anything at all? I'm glad that we have md-table to try now rather than having to wait until the docs are all ready. If you guys want to submit any improvements to the docs, I'm sure your pull request would be welcome. |
@robwormald @jelbourn @shlomiassaf Any thoughts on the above? If anyone could comment to help me get going, then I would be more than happy to prepare a PR if that would be welcome? Either way, it would be great to get something written somewhere about what is needed from the datasource somewhere. |
@jrood Yeah! Thats why we love an open source. 😉 @georgeedwards |
@georgeedwards thanks. I'm not sure exactly, but I imagine that you might wrap your calls to the api in some service
and then you might tap into an
I hope that's at least somewhat useful. |
@irowbin Btw, any idea on how to completely disable the selection of specific rows? Only setting Actual behavior: https://plnkr.co/edit/ixlAhiNaMR3qb1Dg3pEl?p=info Excepted behavior (note that the rows are completely disabled): |
How do I just take an array of objects and put them in a md-table? For the life of me I can't figure it out. It really shouldn't be overly hard. Does someone have an example? I have the table all setup with the columns etc. I just can't wrap my head around getting this data in there. The examples aren't really helping as all of the ones I've seen create the data in the database. |
@marct83 try check this example https://github.com/angular/material2/tree/master/src/demo-app/table out |
Thanks @leocaseiro I'll go through it and see if it helps. Although this all seems fairly overly complicated to just display rows of data from an array. :) |
It would be great to have a container wrapping (ex: ex: <md-table>
<md-header-row>
<!-- ... -->
</md-header-row>
<md-row-wrapper>
<md-row>
<!-- ... -->
</md-row>
</md-row-wrapper>
</md-table> .mat-row-wrapper {
overflow-y: auto;
} |
@ThibaultSavary #5885 is already tracking this issue. You can also find other features by filtering to issues with the label 'md-table' :-) |
@irowbin regarding the expandable rows (https://plnkr.co/edit/ZL6OnWwVmOCPYetp96XX?p=preview) |
@pueaau I've tested with both |
@willshowell After reading the table design document (https://docs.google.com/document/d/1ZyKhwrgqfTBAn7saTq2jPlep2_CwSw5DeoZ8UbaXrC0) I guess cdkRowDefWhen would be the way to go. This does not seem to be implemented yet. Is there another way? I also tried to create a row including cells using a ComponentFactoryResolver. The row part sort of worked, but I couldn't figure out the table part yet. Guess I'll have to have a closer look at the code. Any suggestions are welcome. |
@pueaau @irowbin I put that warning there because of this response to it. Instead of adding content between rows, it should go inside of them. In the future, row heights will be used to make calculations about what is visible, and having untracked content will throw that off. I've been meaning to rewrite the example (hack) but haven't found time. Concerning cdkRowDefWhen, see this issue #5887 |
@willshowell Thanks. My company is building CMS/CRM/ERP using |
Hey all, @irowbin first of all 1000 thx for your examples man! Amazing job! I would love to see a responsive example, I could figure it out myself unfortunately to share it with you . :/ Horizontal scrolling is not working for me or even the row doesn't change height size if content in a column is to big so it's overlapping the rows above and below of it. |
@vapits Thanks but the plnkr examples are provided from the angular team i guess. 😎 |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
No description provided.
The text was updated successfully, but these errors were encountered: