GridRowAction的popover

GridRowAction的popover

作者:王书硕


多列表方案中

getRowActions(rowIndex: number, data: any): IGridAction[] {
  const actions = this.presenter.listSolutionConnector.rowActionController.makeDefaultRowActions(
    data,
  );

  const disabledTimeAction = {
    icon: 'icontuichu',
    title: '停用日期',
    key: 'disabledDate',
    onClick: () => {},
    popoverRender: () => {
      return {
        content: (
          <div />
        ),
      };
    },
  }
}