angular-ui/ui-grid

[BUG]: RTL column menu wrong positioning

Open

#3,460 opened on 2015年5月9日

GitHub で見る
 (4 comments) (0 reactions) (0 assignees)JavaScript (5,395 stars) (2,496 forks)batch import
good first issuetype: bug

説明

Here's the plnkr: http://plnkr.co/edit/MAjaBO3Bpe3mf04JxWpo?p=preview Simply open one of the column menus and see it doesn't show in the right place.

Using this code in the repositionMenu function:

if (column.grid.isRTL()){
        left = positionData.left + positionData.parentLeft+ positionData.width;
}

Seems to fix this.

コントリビューターガイド