diff options
author | Robert Jaros <rjaros@finn.pl> | 2019-04-22 19:06:16 +0200 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2019-04-22 19:06:16 +0200 |
commit | 8d4f2f3a01b343e4e1d039aa78dbbcaa9f7dbb48 (patch) | |
tree | 680f9b3f823369b228ea360915c45295d7fa4832 /src/main | |
parent | 6a92d7e67326eeec6040c94983b79f288a32a386 (diff) | |
download | kvision-8d4f2f3a01b343e4e1d039aa78dbbcaa9f7dbb48.tar.gz kvision-8d4f2f3a01b343e4e1d039aa78dbbcaa9f7dbb48.tar.bz2 kvision-8d4f2f3a01b343e4e1d039aa78dbbcaa9f7dbb48.zip |
Fix for modifying table content dynamically.
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/table/Table.kt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/table/Table.kt b/src/main/kotlin/pl/treksoft/kvision/table/Table.kt index f78d3f84..68db05d3 100644 --- a/src/main/kotlin/pl/treksoft/kvision/table/Table.kt +++ b/src/main/kotlin/pl/treksoft/kvision/table/Table.kt @@ -82,6 +82,8 @@ open class Table( private val tbody = Tag(TAG.TBODY) init { + thead.parent = this + tbody.parent = this refreshHeaders() @Suppress("LeakingThis") init?.invoke(this) |