the option (TableOptionsIf.direction)
Optional host: HTMLElementthe host element of the table (needed for "auto")
"ltr" or "rtl"
resolveTableDirection("auto", document.getElementById("table")!); // "rtl" on a page with <html dir="rtl">
1.1.98
Decides the direction of a table:
"rtl"and"ltr"as given,"auto"from the computeddirectionof the host (inherited from<html dir="rtl">or any parent) – for a host that is not in the document yet from the nearestdirattribute of the host or a parent. Missing (undefined) ="ltr".Must be called before the table sets the
dirattribute of the host.