logo

S2

  • Manual
  • API
  • Examples
  • Playground
  • ChangeLog
  • Productsantv logo arrow
  • 2.x
  • Common Configuration
    • S2DataConfig
    • S2Options
      Updated
    • S2Theme
      Updated
    • S2Event
  • Basic Class
    • SpreadSheet
    • Interaction
      Updated
    • Store
    • BaseCell
      Updated
    • BaseDataSet
    • Node
    • BaseTooltip
    • BaseFacet
      Updated
    • Hierarchy
      New
    • BaseBBox
      New
    • CellData
      New
  • Components
    • table component
    • DrillDown
    • Switcher
    • Advanced Sort
    • Export
      Updated
  • Graphic style
  • 透视组合图拓展 S2Options

Node

Previous
BaseDataSet
Next
BaseTooltip

Resources

Ant Design
Galacea Effects
Umi-React Application Framework
Dumi-Component doc generator
ahooks-React Hooks Library

Community

Ant Financial Experience Tech
seeconfSEE Conf-Experience Tech Conference

Help

GitHub
StackOverflow

more productsMore Productions

Ant DesignAnt Design-Enterprise UI design language
yuqueYuque-Knowledge creation and Sharing tool
EggEgg-Enterprise-class Node development framework
kitchenKitchen-Sketch Tool set
GalaceanGalacean-互动图形解决方案
xtechLiven Experience technology
© Copyright 2025 Ant Group Co., Ltd..备案号:京ICP备15032932号-38

Loading...

Function description: layout node. details

node.isTotals // false
parameterillustratetype
idnode idstring
keynode keystring
valuenode valuestring
levelnode levelnumber
rowIndexrow header indexnumber
colIndexheader indexnumber
parentsparent nodenode
isTotalsIs it summaryboolean
isSubTotalsIs it a subtotalboolean
isGrandTotalsIs it totalboolean
isCollapsedWhether to expandboolean
hierarchyhierarchical structureHierarchy
isPivotModeIs it a pivot tableboolean
seriesNumberWidthSerial number widthnumber
fieldThe field corresponding to dataCfgstring
spreadsheetForm exampleSpreadSheet
queryData corresponding to the current nodeRecord<string, any>
belongs to Cellcorresponding cellS2CellType
isTotalMeasureIs it a numerical subtotalboolean
inCollapseNodeWhether to expand the nodeboolean
isLeafIs it a leaf nodeboolean
xx-axis coordinatenumber
the yy-axis coordinatesnumber
widthwidthnumber
heighthighnumber
paddingspacingnumber
childrenchild nodeNode[]