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: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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