發表文章

目前顯示的是 6月, 2022的文章

[Angular 文章材料留存]

  https://ithelp.ithome.com.tw/users/20090728/ironman/1600 https://ithelp.ithome.com.tw/users/20140093/ironman/3909 https://ithelp.ithome.com.tw/users/20140183/ironman/3996 https://ithelp.ithome.com.tw/users/20140664/ironman/4207 https://ithelp.ithome.com.tw/users/20093270/ironman/4623 https://ithelp.ithome.com.tw/users/20128395/ironman/4876 https://ithelp.ithome.com.tw/users/20124767/ironman/3894 https://ithelp.ithome.com.tw/users/20124767/ironman/3894

[Angular Material] 讓matTable可以一行顯示多列

    < table mat - table [ dataSource ] = " dataSourceSeal " matSort >           < ! -- businessType Column -->           < ng - container matColumnDef = " businessType " >             < th mat - header - cell * matHeaderCellDef > 業務別 < / th >             < td               mat - cell               * matCellDef = " let element ; let i = index "               [ attr . rowspan ] = " getRowSpan ( ' businessType ' , i ) "               [ style . display ] = " getRowSpan ( ' businessType ' , i ) ? i : ''"             >               {{ element . businessType }}             < / td > ...