[AngularJS] Re: Mat-Table inside a MAt-Table shows extra row for every record
I solved this by adding CSS file On Monday, 15 October 2018 12:35:44 UTC+5:30, Partha Majumdar wrote: > > > Dear Sir/Madam, > > I have implemented a MAt-Table inside a Mat-Table. The data displayed is > correct. However, for every row of the parent row, it shows one extra empty > row in the Mat-Table. As I am unable to trace the error, I seek help on > this forum. Please help. > > Regards, > Partha > > The HTML code is as follows. > > multiTemplateDataRows width="100%"> > > > > > > Tax Code > {{element.taxCode}} > > > > > > Name > > {{element.taxDescription}} > > > > > Tax Type Code > > {{element.taxTypeCode}} > > > > > > > > *ngIf="isUserAuthenticated">create > > > > > > > > > "onDelete(row.taxCode)" *ngIf="isUserAuthenticated">clear mat-icon> > > > > > > "displayedColumns.length"> > [@detailExpand]="element == expandedElement ? 'expanded' : 'collapsed'" > *ngIf="element.taxVersion.length > 0"> > "mat-elevation-z8" width="100%"> > > Tax ID > {{element.taxID}} > > > Version Code > {{element.versionCode}} > > > Version Date > {{element.versionDate}} > > > Tax Rate > {{element.taxRate}} > > > > > > > > > > class="example-element-row" > [class.example-expanded-row]="expandedElement === row" > (click)="expandedElement = row" > > > "example-detail-row"> > > > mat-paginator> > > > > The display is as follows: > > [image: errMatTable.jpeg] > > -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
[AngularJS] Re: Mat-Table inside a MAt-Table shows extra row for every record
Title: new angular development features and improvements with error handling webinar by google employees About Angular: Angular is a Typescript-based open-source front-end web application platform led by the Angular Team at Google and by a community of individuals and corporations. What we’ll cover in this webinar... Any error you can fix after this webinar 1. Angular error handling with latest strategies 2. New tips to write clean and per-formant angular application 3. Improving the testability of the angular app 4. Add caching to APIs and Migrating to PWA 5. State Management in Angular 6. User Activity logging with Azure Application Insights 7. Integrate with any technology Speaker: Ryan Russul who is a speaker and having 8 years of experience in UI development and worked as senior solution architect, practising code re-usability and enterprise practices in angular development among all teams who were responsible for angular development. Join in webinar: http://ovpurl.com/c2V5oNgM [image: angular-webinar-31st.jpg] On Monday, October 15, 2018 at 12:35:44 PM UTC+5:30, Partha Majumdar wrote: > > > Dear Sir/Madam, > > I have implemented a MAt-Table inside a Mat-Table. The data displayed is > correct. However, for every row of the parent row, it shows one extra empty > row in the Mat-Table. As I am unable to trace the error, I seek help on > this forum. Please help. > > Regards, > Partha > > The HTML code is as follows. > > multiTemplateDataRows width="100%"> > > > > > > Tax Code > {{element.taxCode}} > > > > > > Name > > {{element.taxDescription}} > > > > > Tax Type Code > > {{element.taxTypeCode}} > > > > > > > > *ngIf="isUserAuthenticated">create > > > > > > > > > "onDelete(row.taxCode)" *ngIf="isUserAuthenticated">clear mat-icon> > > > > > > "displayedColumns.length"> > [@detailExpand]="element == expandedElement ? 'expanded' : 'collapsed'" > *ngIf="element.taxVersion.length > 0"> > "mat-elevation-z8" width="100%"> > > Tax ID > {{element.taxID}} > > > Version Code > {{element.versionCode}} > > > Version Date > {{element.versionDate}} > > > Tax Rate > {{element.taxRate}} > > > > > > > > > > class="example-element-row" > [class.example-expanded-row]="expandedElement === row" > (click)="expandedElement = row" > > > "example-detail-row"> > > > mat-paginator> > > > > The display is as follows: > > [image: errMatTable.jpeg] > > -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
[AngularJS] Re: Mat-Table inside a MAt-Table shows extra row for every record
Hi Sir, Please share the css change. Thanks Amit On Monday, October 15, 2018 at 12:35:44 PM UTC+5:30, Partha Majumdar wrote: > > > Dear Sir/Madam, > > I have implemented a MAt-Table inside a Mat-Table. The data displayed is > correct. However, for every row of the parent row, it shows one extra empty > row in the Mat-Table. As I am unable to trace the error, I seek help on > this forum. Please help. > > Regards, > Partha > > The HTML code is as follows. > > multiTemplateDataRows width="100%"> > > > > > > Tax Code > {{element.taxCode}} > > > > > > Name > > {{element.taxDescription}} > > > > > Tax Type Code > > {{element.taxTypeCode}} > > > > > > > > *ngIf="isUserAuthenticated">create > > > > > > > > > "onDelete(row.taxCode)" *ngIf="isUserAuthenticated">clear mat-icon> > > > > > > "displayedColumns.length"> > [@detailExpand]="element == expandedElement ? 'expanded' : 'collapsed'" > *ngIf="element.taxVersion.length > 0"> > "mat-elevation-z8" width="100%"> > > Tax ID > {{element.taxID}} > > > Version Code > {{element.versionCode}} > > > Version Date > {{element.versionDate}} > > > Tax Rate > {{element.taxRate}} > > > > > > > > > > class="example-element-row" > [class.example-expanded-row]="expandedElement === row" > (click)="expandedElement = row" > > > "example-detail-row"> > > > mat-paginator> > > > > The display is as follows: > > [image: errMatTable.jpeg] > > -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
[AngularJS] Re: Mat-Table inside a MAt-Table shows extra row for every record
Hi Partha, I am looking to implement exactly the same thing ,can you please share your component.ts and css please. Thanks On Monday, October 15, 2018 at 8:05:44 AM UTC+1, Partha Majumdar wrote: > > > Dear Sir/Madam, > > I have implemented a MAt-Table inside a Mat-Table. The data displayed is > correct. However, for every row of the parent row, it shows one extra empty > row in the Mat-Table. As I am unable to trace the error, I seek help on > this forum. Please help. > > Regards, > Partha > > The HTML code is as follows. > > multiTemplateDataRows width="100%"> > > > > > > Tax Code > {{element.taxCode}} > > > > > > Name > > {{element.taxDescription}} > > > > > Tax Type Code > > {{element.taxTypeCode}} > > > > > > > > *ngIf="isUserAuthenticated">create > > > > > > > > > "onDelete(row.taxCode)" *ngIf="isUserAuthenticated">clear mat-icon> > > > > > > "displayedColumns.length"> > [@detailExpand]="element == expandedElement ? 'expanded' : 'collapsed'" > *ngIf="element.taxVersion.length > 0"> > "mat-elevation-z8" width="100%"> > > Tax ID > {{element.taxID}} > > > Version Code > {{element.versionCode}} > > > Version Date > {{element.versionDate}} > > > Tax Rate > {{element.taxRate}} > > > > > > > > > > class="example-element-row" > [class.example-expanded-row]="expandedElement === row" > (click)="expandedElement = row" > > > "example-detail-row"> > > > mat-paginator> > > > > The display is as follows: > > [image: errMatTable.jpeg] > > -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.