then the tableview that was easy: ``` class EntryT...
# tornadofx
r
then the tableview that was easy:
Copy code
class EntryTableView : View() {
    val controller: MainController by inject()
    override val root = tableview(controller.allentries) {

        columnResizePolicy = SmartResize.POLICY

        bindSelected(controller.selectedEntry)
        column<Entry, String>("name", "title").pctWidth(25.0)
        column<Entry, String>("username", "username").pctWidth((25.0))
        column<Entry, String>("url", "url")

    }
}