Advertisement
Guest User

Untitled

a guest
May 3rd, 2015
265
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Scala 0.35 KB | None | 0 0
  1.   new Table(id = "tableId") {
  2.     thead = new Thead
  3.     tbody = new TBody(clazz = Seq("default")) {
  4.       tr = (1 to 10).map { strNum =>
  5.         new Tr(style = Width -> 100.%) {
  6.           td = Seq(
  7.             Td()(s"this is td1 t1-$strNum"),
  8.             Td(style = FontWeight -> Bold)(s"t2-$strNum")
  9.           )
  10.         }
  11.       }
  12.     }
  13.   }.render(1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement