Wednesday, 13 October 2021

angular material

 in angular material if u like to movie actions like edit and delte then you should
move the column name in ts file to the top no use if you move in html file

check here

single checkbox selection click here

here in ts give consoel.log(this.selected)

you will gate below property.

  1. SelectionModel
    1. changedSubject
      1. closedfalse
      2. hasErrorfalse
      3. isStoppedfalse
      4. thrownErrornull
      5. _isScalarfalse
    2. onChangeSubject
      1. closedfalse
      2. hasErrorfalse
      3. isStoppedfalse
      4. thrownErrornull
      5. _isScalarfalse
    3. selected(...)
    4. _deselectedToEmitArray(0)
      1. length0
    5. _emitChangestrue
    6. _multipletrue
    7. _selectionSet(1)
      1. [[Entries]]
      2. size1
<mat-form-field appearance="fill">
                  <mat-label>CONTAINER PERMIT *</mat-label>
                  <mat-select [(ngModel)]="selectedValue" >
                    <mat-option *ngFor="let cn of contaniervalues" [value]="cn.lookupDescription" >
                      {{cn.lookupDescription}}
                    </mat-option>
                  </mat-select>
                </mat-form-field>

ts:selectedvalue:any;




for add and edit on same action check vessel master in dms.web under master

No comments:

Post a Comment

7 Common mistakes in Dot Net — You can avoid

  There are many common mistakes made during .NET (ASP.NET, .NET Core) development, which affect performance, security, and code… Code Crack...