【发布时间】:2019-12-16 17:45:26
【问题描述】:
我在 _Layout.cshtml 中有一个 css,它将所有 ui 控件分配给 rtl 方向,如下所示:
* {
direction: rtl;
}
我正在使用 Angulars UI-Grid,在 RTL 本地化中,columnDefs 出现在正确的方向,但是,相关数据的出现顺序与 columnDefs 的顺序相反,如附图 [Reversed-RTL][1] 中所述
请告知,如何更改 RTL 本地化中的数据顺序以匹配 columnDefs 的顺序。 注意:在 LTR 本地化 UI-Grid 中以正确的顺序显示 columnDefs 和数据。
【问题讨论】:
标签: javascript angularjs angular angular-ui-grid right-to-left