createDataSet(tableOptions, loadOptions?): Promise (opens in a new tab)<PivotDataSet>
ํ
์ด๋ธ ๋ก๋ ์ต์
๋ค๋ก ํผ๋ฒ ๋ฐ์ดํฐ์
์ ์์ฑํ๋ค.
๊ฐ ์ต์
์ ์ง์ ๋ ์์ค(csv url ๋ฑ)๋ฅผ ๋ก๋ํด์ ๋ฐ์ดํฐ์
์ ํ
์ด๋ธ๋ก ์ถ๊ฐํ๋ค.
const ds = await RealPivot2.createDataSet([{ name: 'sales', url: '/data/sales.csv' }]);| Parameter | Type | Description |
|---|---|---|
| tableOptions | Array (opens in a new tab)<PivotDataTableOptions | PivotStarSchemaOptions> | ํ
์ด๋ธ๋ณ ๋ก๋ ์ต์
๋ฐฐ์ด. ์ผ๋ฐ ํ
์ด๋ธ์ PivotDataTableOptions, ์คํ ์คํค๋ง๋ PivotStarSchemaOptions๋ฅผ ์ฌ์ฉํ๋ค. |
| loadOptions | { control: PivotControl;indicator: 'true' | 'progress'; } | ๋ก๋ฉ ์ธ๋์ผ์ดํฐ ์ต์
. indicator๊ฐ true๋ฉด ์คํผ๋, 'progress'๋ฉด ์งํ๋ฅ ์ ํ์ํ๊ณ , control์ ํ์ํ ์ปจํธ๋กค์ ์ง์ ํ๋ค. |