scautable
This is a simple library to render a scala case class as an html table. It assumes the presence of a HtmlTableRender instance for each type in the case class.
Attributes
- Experimental
- true
- Graph
-
- Supertypes
- Self type
-
scautable.type
Members list
Type members
Classlikes
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
HtmlTableRender.type
Implement this trait for any type you want to render as part of an html table. See the concrete examples below.
Implement this trait for any type you want to render as part of an html table. See the concrete examples below.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Value members
Concrete methods
Render a sequence of unknown type as an html table
Render a sequence of unknown type as an html table
Value parameters
- a
-
- A sequence of unknown type you wish to render as an html table
- addHeader
-
- If true, add a header row to the table
- tableDeriveInstance
-
- An instance of HtmlTableRender for the type
A
Attributes
Inherited methods
Attempts to open a browser window, and display this Seq of Product
as a table.
Attempts to open a browser window, and display this Seq of Product
as a table.
Value parameters
- a
-
- seq of case classes
- tableDeriveInstance
-
- summon a HtmlTableRender instance for the case class
Attributes
- Inherited from:
- PlatformSpecific
Attributes
- Inherited from:
- PlatformSpecific