tableutils

package
v0.0.0-...-e489f9a Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateColumnWidth

func CalculateColumnWidth(columns []table.Column, totalWidth int, targetColumn table.Column) int

func CalculateExtraMultilineRows

func CalculateExtraMultilineRows(columns []table.Column, rows [][]string, totalWidth int) []int

func CalculatePaginationSize

func CalculatePaginationSize(linesUsedByEachTableRow []int, totalRows, viewportHeight int) (size int)

func GetColumnFromKey

func GetColumnFromKey(columns []table.Column, key string) table.Column

func UpdateTableHeightAndFooter

func UpdateTableHeightAndFooter(m table.Model, rowsString [][]string, columns []table.Column, width, viewportHeight int) table.Model

Types

This section is empty.

Jump to

Keyboard shortcuts

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