UNPKG

devexpress-richedit

Version:

DevExpress Rich Text Editor is an advanced word-processing tool designed for working with rich text documents.

18 lines (17 loc) 537 B
import { ListUtils } from '@devexpress/utils/lib/utils/list'; import { GridMaker } from '../../../model/tables/grid/grid-maker'; export class Grid { table; columns; tableCellGridInfos; tableCellInfos; constructor(table) { this.table = table; this.tableCellGridInfos = []; this.tableCellInfos = []; GridMaker.fillGridInfo(table, this.tableCellGridInfos, this.tableCellInfos); } get commonWidth() { return ListUtils.last(this.columns.positions); } }