infoMapTable

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Column

type Column struct {
	DataIndex string `json:"dataIndex"`
	Title     string `json:"title"`
	Width     int    `json:"width"`
}

type InfoMapTable

type InfoMapTable struct {
	*cptype.SDK
	Ctx context.Context
	base.DefaultProvider
	Type  string            `json:"type"`
	Props Props             `json:"props"`
	Data  map[string][]Pair `json:"data"`
}

func (*InfoMapTable) Render

type Label

type Label struct {
	Value       string      `json:"value"`
	RenderType  string      `json:"renderType"`
	StyleConfig StyleConfig `json:"styleConfig"`
}

type Pair

type Pair struct {
	Id    string `json:"id"`
	Label Label  `json:"label"`
	Value string `json:"value"`
}

type Props

type Props struct {
	RowKey     string   `json:"rowKey"`
	Bordered   bool     `json:"bordered"`
	ShowHeader bool     `json:"showHeader"`
	Pagination bool     `json:"pagination"`
	Columns    []Column `json:"columns"`
}

type StyleConfig

type StyleConfig struct {
	FontWeight string `json:"fontWeight"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL