Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/452.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 在angular 6中使用flex创建的表格的上/下导航_Javascript_Angular_Flexbox - Fatal编程技术网

Javascript 在angular 6中使用flex创建的表格的上/下导航

Javascript 在angular 6中使用flex创建的表格的上/下导航,javascript,angular,flexbox,Javascript,Angular,Flexbox,我使用flex创建了一个表,如下所示 <form #consolidatedForm="ngForm"> <div class="flex-row" *ngFor="let item of model.balance.Assets; let i = index;"> <div class="flex-cell w-2 border border-n

我使用flex创建了一个表,如下所示

<form #consolidatedForm="ngForm">
                            <div class="flex-row" *ngFor="let item of model.balance.Assets; let i = index;">
                                <div class="flex-cell w-2 border border-no-bottom border-no-top border-no-left"> {{item.description | stringShorten:48}} </div>
                                <div class="flex-cell border border-no-left calculated" *ngFor="let value of item.wacValues"> {{value.value | wacNumber}} </div>
                                <div class="flex-cell border border-no-left" style="padding:1px 2px 1px 1px;">
                                    <input type="number" [disabled]="syncing" style="border:none;" [(ngModel)]="item.eliminationAdjustment"
                                           [ngModelOptions]="{standalone: true}" name="eliminationadjustment + i" (change)="syncCurrentAssets()" />
                                </div>
                                <div class="flex-cell border border-no-left calculated"> {{item.consolidatedStatement | wacNumber:true}} </div>
                            </div>
                        </form>

{{item.description | stringShorten:48}
{{value.value | wacNumber}}
{{item.consolidatedStatement}wacnnumber:true}

在angular 6中,是否有任何可能的方法在flex行中的每个单元格之间导航?我只能为未使用flex创建的表找到解决方案。

我强烈建议使用fxFlex-您是否使用AngularJS或angular 6?或者,可能两者都有(这将非常有趣!!!)?我使用angular 6i不能更改flex类,因为它取决于客户端