The highest tagged major version is
v2.
package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Dec 17, 2021
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package table wraps Bootstrap default Table Content.
Table represents Bootstrap table content.
Attach binds a Bootstrap table on page.
func New(head []interface{}, data [][]interface{}) *Table
New returns a table with headers and data.
func (t *Table) Add(idx interface{}, data []interface{}) *Table
Add adds data to table.
Caption add or replace caption.
Cell return (row, col) cell in tbody. row and col are 0-index.
Head return n-th head cell. idx is 0-index.
func (t *Table) SetCell(row, col int, content ...interface{}) *Table
SetCell reset new content to some cell.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.