GridSettingsBase.RightToLeft Property
Specifies whether to apply right-to-left representation to the extension.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.1.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
Property Value
Type | Description |
---|---|
DefaultBoolean | One of the enumeration values. |
Available values:
Name | Description | Return Value |
---|---|---|
True | The value is true. |
|
False | The value is false. |
|
Default | The value is specified by a global option or a higher-level object. |
|
Remarks
Refer to the following topic for more information: Right to Left Support.
Vertical Scrollbar
According to grid design specifics, the vertical scrollbar is rendered on the right side in right-to-left mode. To render it on the left side, you can override the following CSS rules:
[dir='ltr'] {
direction: rtl!important;
}
[dir='rtl'] .dxgvHSDC {
padding-right: 0!important;
}
Note that this workaround may not work with some themes and may have visual side effects.
See Also