kd.bos.form.control

## 类 TreeEntryGrid

- java.lang.Object
- - kd.bos.form.control.Control
  - - kd.bos.form.TipsSupport
    - - kd.bos.form.container.Container
      - - kd.bos.form.control.AbstractGrid
        - - kd.bos.form.control.EntryGrid
          - - kd.bos.form.control.TreeEntryGrid

- 所有已实现的接口:
    java.lang.Cloneable, kd.bos.dataentity.entity.ISupportInitialize, ISuportClick, ITipsSupport

      @KSObject
      public class TreeEntryGrid
      extends EntryGrid

  树单据体

- - ### 嵌套类概要

    - ### 从类继承的嵌套类/接口 kd.bos.form.control.AbstractGrid

      `AbstractGrid.GridState`

  - ### 字段概要

    - ### 从类继承的字段 kd.bos.form.control.AbstractGrid

      `VIRTUAL_GRID`

  - ### 构造器概要

    构造器
    构造器和说明
    `TreeEntryGrid()`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | `addCellClickListener(TreeNodeQueryListener listener)` 添加单元格点击到监听器
    `void` | `collapse(int row)` 折叠/收起行
    `void` | `collapse(int[] rows)` 折叠/收起行
    `void` | `collapseOne(int row)` 折叠/收起单行
    `void` | `collapseOne(int[] rows)`
    `void` | `expand(int row)` 展开行
    `void` | `expand(int[] rows)` 展开行
    `void` | `expandOne(int row)`
    `void` | `expandOne(int[] rows)`
    `void` | `focus(int pRowKey, int rowKey)`
    `java.util.Map<java.lang.String,java.lang.Integer>` | `getDataIndex()` 获取数据索引？
    `java.lang.Object` | `getExpandNodes()`
    `void` | `loadChildrenData(java.lang.Object value)`
    `void` | `postExpandNodes(java.lang.Object value)`
    `void` | `queryTreeNodeChildren()` 展开树节点
    `void` | `setCollapse(boolean isCollapse)` 展开/收起全部行

    - ### 从类继承的方法 kd.bos.form.control.EntryGrid

      `addDataBindListener, addPackageDataListener, attachmentClick, beginInit, bindData, endInit, fullScreen, getControls, getEntryKey, getFieldEdits, getRowBindValue, getRuleCount, getSelectRows, getSubEntryGrids, getSum, isInitialized, next, previous, setEntryKey, setFloatButtomData, setFloatButtomData, setFmtInfo, setNumFmtInfo, setPageIndex, setRuleCount, setSubEntryGrids, summary, switchGridView, updateCellFmt, updateColFmt`

    - ### 从类继承的方法 kd.bos.form.control.AbstractGrid

      `addCellClickListener, addHeaderCellClickListener, addHyperClickListener, addPagerClickListener, addRowClickListener, addSelectRowsListener, clearEntryState, clickCell, clickHeaderCell, doubleClickCell, entryRowClick, entryRowDoubleClick, focusCell, getEntryState, getPageRow, hideOperateItems, hyperLinkClick, isEqualsRow, isSplitPage, itemClick, postBack, selectRows, selectRows, selectRows, selectRowsChanged, setCellBackcolor, setCellStyle, setColumnProperty, setCustomProperties, setMustInput, setNextpageData, setPageRow, setPageRows, setRowBackcolor, setSplitPage`

    - ### 从类继承的方法 kd.bos.form.container.Container

      `addClickListener, addControls, addItemClickListener, click, clone, createClientConfig, deleteControls, getCollapseFields, getItems, getOperationKey, insertControls, setBackgroundImg, setCollapseFields, setCollapseFieldsVisible, setOperationKey`

    - ### 从类继承的方法 kd.bos.form.TipsSupport

      `addTips, addTipsListener, hideTips, showFormByTips`

    - ### 从类继承的方法 kd.bos.form.control.Control

      `getCustomeStyles, getKey, getModel, getView, release, setCustomeStyles, setDraggable, setDroppable, setKey, setModel, setView`

    - ### 从类继承的方法 java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 构造器详细资料

    - #### TreeEntryGrid

          public TreeEntryGrid()

  - ### 方法详细资料

    - #### addCellClickListener

          public void addCellClickListener(TreeNodeQueryListener listener)

      添加单元格点击到监听器
      参数:
        `listener` - 监听器

    - #### queryTreeNodeChildren

          public void queryTreeNodeChildren()

      展开树节点

    - #### getDataIndex

          public java.util.Map<java.lang.String,java.lang.Integer> getDataIndex()

      从类复制的说明: `EntryGrid`
      获取数据索引？
      覆盖:
        `getDataIndex` 在类中 `EntryGrid`
      返回:
        data map

    - #### setCollapse

          public void setCollapse(boolean isCollapse)

      展开/收起全部行
      覆盖:
        `setCollapse` 在类中 `Container`
      参数:
        `isCollapse` - 是否折叠

    - #### collapse

          @KSMethod
          public void collapse(int[] rows)

      折叠/收起行
      参数:
        `row` - 行索引

    - #### collapseOne

          @KSMethod
          public void collapseOne(int row)

      折叠/收起单行
      参数:
        `row` - 行索引

    - #### collapseOne

          @KSMethod
          public void collapseOne(int[] rows)

    - #### collapse

          @KSMethod
          public void collapse(int row)

      折叠/收起行
      参数:
        `row` - 行索引

    - #### expand

          @KSMethod
          public void expand(int[] rows)

      展开行
      参数:
        `row` - 行索引

    - #### expand

          @KSMethod
          public void expand(int row)

      展开行
      参数:
        `row` - 行索引

    - #### expandOne

          @KSMethod
          public void expandOne(int row)

    - #### expandOne

          @KSMethod
          public void expandOne(int[] rows)

    - #### focus

          public void focus(int pRowKey,
                            int rowKey)

    - #### loadChildrenData

          public void loadChildrenData(java.lang.Object value)

    - #### postExpandNodes

          public void postExpandNodes(java.lang.Object value)

    - #### getExpandNodes

          public java.lang.Object getExpandNodes()