func NewActionTable() *ActionTable {
	actionTable := &ActionTable{
		Table: viz.NewTable(),
	}
	actionTable.Table.Title = " Select Action "
	actionTable.Table.Header = []string{"Action"}
	actionTable.Table.Rows = allActions
	actionTable.Table.ColResizer = func() {
		x := actionTable.Table.Inner.Dx()
		actionTable.Table.ColWidths = []int{x}
	}
	actionTable.Table.ShowCursor = true
	actionTable.Table.CursorColor = ui.ColorCyan
	actionTable.Table.BorderStyle.Fg = ui.ColorCyan
	return actionTable
}
NewActionTable is a constructor for the ActionTable type
package misc
import (
	ui "github.com/gizak/termui/v3"
	viz "github.com/pesos/grofer/pkg/utils/visualization"
)
var allActions = [][]string{
	{
		"PAUSE",
	},
	{
		"UNPAUSE",
	},
	{
		"RESTART",
	},
	{
		"STOP",
	},
	{
		"KILL",
	},
	{
		"REMOVE",
	},
}
const actionNameIdx = 0
type ActionTable struct {
	*viz.Table
}