Closed tatarincev closed 4 years ago
for ui-grid correct RTL support following configurations are needed:
<div ui-grid="gridOptions" dir="rtl" ui-grid-auto-resize ui-grid-save-state ui-grid-selection ui-grid-resize-columns ui-grid-move-columns ui-grid-pinning ui-grid-height></div>
+ Now you need to reload page to correct apply RTL changes to UI, while translate for languages applied immediately
very simple to reload:
VirtoCommerce.Platform.Web\Scripts\app\userProfile\blades\userProfile.js
you need to edit setLanguage like this:
$scope.setLanguage = function () { $translate.use(blade.currentLanguage); location.reload(); };
@alireza-salehi thank you, but I know it :) it's just note to not forget it when we'll fix RTL support
This feature request has been closed and added to the internal product backlog. https://virtocommerce.atlassian.net/browse/PRD-85
ui-grid - add globally for actions column '{ name: 'actions', displayName: '', enableColumnResizing: false, enableSorting: false, width: 30, cellTemplate: 'list-actions.cell.html', pinnedRight:isRTL , pinnedLeft: !isRTL }'
Change datpicker and date format to persian calendar (jalali) has specific requirement and different from Gregorian calandar