To switch to a right-to-left representation, just enable a single property - "rtl". When this property is on, the layout of Custom Elements DataTable's UI elements is reversed.