File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -720,8 +720,8 @@ export class Table implements AfterViewInit {
720720 constructor ( protected elementRef : ElementRef , protected applicationRef : ApplicationRef , protected i18n : I18n ) { }
721721
722722 ngAfterViewInit ( ) {
723- this . getTotalColumns ( ) ;
724723 if ( this . isDataGrid ) {
724+ this . getTotalColumns ( ) ;
725725 this . handleTabIndex ( ) ;
726726 }
727727 }
@@ -925,9 +925,7 @@ export class Table implements AfterViewInit {
925925 tabbable . tabIndex = - 1 ;
926926 } ) ;
927927 }
928- Array . from < HTMLElement > ( this . elementRef . nativeElement . querySelectorAll ( "td, th" ) ) . forEach ( cell =>
929- setTabIndex ( cell , - 1 )
930- ) ;
928+ Array . from < HTMLElement > ( this . elementRef . nativeElement . querySelectorAll ( "td, th" ) ) . forEach ( cell => setTabIndex ( cell , - 1 ) ) ;
931929
932930 const rows = this . elementRef . nativeElement . firstElementChild . rows ;
933931 if ( Array . from ( rows [ 0 ] . querySelectorAll ( "th" ) ) . some ( th => getFocusElementList ( th , tabbableSelectorIgnoreTabIndex ) . length > 0 ) ) {
You can’t perform that action at this time.
0 commit comments