edvin
06/01/2017, 5:25 AMSortedFilteredList
to solve these problems. It also has a refilter
function, but you can automatically bind it to a property so it will refilter whenever you change the input in the textfield.edvin
06/01/2017, 5:25 AMedvin
06/01/2017, 5:29 AMedvin
06/01/2017, 5:30 AMfilterWhen
function and just give it the textProperty()
of the textfield, and the following function block will be reevaluated and assigned to your predicate whenever it changes.Sola
06/01/2017, 9:44 AMnimakro
06/02/2017, 11:43 AMedvin
06/02/2017, 12:05 PMFX.defaultWorkspace
didn't get configured correctly at app start. Try doing FX.defaultWorkspace = YourWorkspace::class
to see if that solves it. Also, post your app class if possible.edvin
06/02/2017, 12:06 PMprimaryView
for your app is a subclass of Workspace
, it should be configured automatically as the default workspace type during app startup.edvin
06/02/2017, 12:07 PMnimakro
06/02/2017, 12:14 PMprimaryView
it the workspace and I think the problem is that I am trying to access the workspace form a component but the workspace is not set yetedvin
06/02/2017, 12:15 PMedvin
06/02/2017, 12:15 PMedvin
06/02/2017, 12:15 PMlistmenu
builder? 😁nimakro
06/02/2017, 12:17 PMlistmenu
builder it will add it to the toolbar and not to the left sideedvin
06/02/2017, 12:17 PMedvin
06/02/2017, 12:17 PMroot.left { listmenu {
edvin
06/02/2017, 12:17 PMnimakro
06/02/2017, 12:18 PMdockOnSelect
and then I set the activeItem
right after that and that will dock the View
and at that point I guess the workspace is not set as a default yet?nimakro
06/02/2017, 12:20 PMactiveItem
in the workspace and run the appnimakro
06/02/2017, 12:20 PMnimakro
06/02/2017, 12:20 PMedvin
06/02/2017, 12:20 PMrunLater
while we find a better solution.edvin
06/02/2017, 12:21 PMnimakro
06/02/2017, 12:22 PMrunLater
works, that's finenimakro
06/02/2017, 12:22 PMedvin
06/02/2017, 12:24 PMedvin
06/02/2017, 12:25 PMnimakro
06/02/2017, 12:27 PMdockOnSelect
function 😀🙈