►
From YouTube: XAF Blazor - TreeList Control in Lookup
Description
Click Here to Subscribe: http://xaf.life/35
Websites:
https://xafmarin.com/
https://xari.io
https://www.xafers.training/
http://xafersweekly.com/
Facebook Group
http://xaf.life/4g
Free XAF Support Hour
https://calendly.com/xari/free-xaf-support-hour
A
Hello,
everyone
welcome
to
another
video
ASAP
laser
today,
we're
gonna
be
discussing
how
to
create
a
lookup
with
a
tree
as
a
control.
So
if
we
see
here,
we
have
the
category
and
right
here
we
can
select
a
three
and
then
we
can
go
deep
on
the
tree
and
select
your
child.
So
how
do
we
do
that?
So
this
is,
of
course,
a
property
editor
and
we're
not
gonna
go
over
how
to
create
a
complete
property
editor,
because
that
we
have
done
that
in
the
past.
Basically,
documentation
on
the
express
has
improved
incredible.
A
A
Either
we
have
the
adapter
here
that
if
you
have
done
a
couple
properties,
you
see
that
everything
started
to
repeat
itself
and
we
have
like
the
other
actor
that
is
hooking
up
the
model
with
the
actual
component,
and
then
we
have
right
here
the
model
that
is
just
going
away,
because
this
is
a
lookup,
it
will
have
the
selected
value
and
we
have
the
the
list
of
all
the
categories
and
then
they
send
value
from
UI.
We
have
seen
this
a
couple
times
the
property
editor
with
the
attribute
and
right
here.
A
The
only
thing
difference
like
we
add
the
I
complex
view
item,
so
we
have
in
the
setup
method,
access
to
the
audio
space
and
the
application
and
right
there
without
we
are
able
to
do
the
in
the
country
created,
go
and
get
the
categories.
So
basically
that's
a
normal.
So
far.
So
what
I
like
is
the
Blazer
part?
It's
like.
If
you
go
to
our
render.
A
You
see
that
we
are
hearing
hey
instantiated,
a
combo
Box
review,
that's
around
components,
let's
go
to
the
combo
Box
review,
and
if
you
see
here
this
is
what
I
like
about
stuff
that
you
can
go
to
the
Blazer
specific
up
to
the
windows,
specific
platform
code
to
the
waveform,
a
specific
platform.
If
you
got
it
working
there,
you
are
able
to
bring
it
here.
A
So
what
we
did
here
is
we
have
a
combo
box
with
all
the
list
of
four
categories,
but
we're
not
going
to
show
the
drop
down
so
we're
gonna
hide
it
and
when
they
drowned
out
visible
event
change,
then
we're
gonna
open
our
own
drop
down.
So
that's
basically
here
and
then
in
the
body
template
we're
going
to
add
our
tribute
angle
tribute
will
be
the
one
that
take
care
of
selection,
change
and
so
on.
So
we
can
even
see
here
in
order
in
our
code.
Behind
that,
basically
we're
going.
This
drop
down
is
open.
A
Bring
it
here,
we
can
go
to
a
documentation
of
the
drop
down.
We
can
take
the
code
check,
the
code
say
hey,
how
is
going
on
what
is
it?
How
does
it
work
and,
let's
basically
from
the
demo,
so
we
see
it,
and
you
see
that
right
here,
Java
drop
down
right
beside
so
the
drop
down
right
beside
so
basically
go
view
the
source
and
they
say
okay.
This
is
binding
to
his
open,
so
we
take
the
the
code
from
the
Blazer
specific
platform
I'll
be
bringing
here.
A
So
if
you
see
the
buying
is
open,
is
going
through,
this
drop
down
is
open.
That
is
being
set
up
here
as
we're
seeing
here
in
the
in
the
code
behind.
So
besides
that
the
after
we
are
actually
got
the
control
working,
we
had
another
reach,
and
that
was
the
last
part.
So
if
we
let's
take
this
for
a
second
and
turn,
it
again.
A
So
when
we
were
opening
that
lookup,
let's
see
if
okay
leave
it,
so
you
come
back
when
we
were
opening
that
lookup.
It
was,
of
course
not
taking
the
size
that
we
wanted
and
we
wanted
to
make
sure
that
it
resized
correctly
with
the
screen.
So
if
the
screen
gets
a
full
size,
if
the
screen
gets
in
a
mobile
device
everywhere,
you
need
to
get
the
size
of
the
of
the
DX
combo
box
of
the
lookup
and,
as
you
will
see
here,
let's
go
to
probe
again
open
it.
As
you
see
here.
A
If
I
go
here,
it
gets
really
small
and
then
it's
not
taking
the
whole
size
of
the
of
the
editor
and
also,
if
you
change
it.
So
how
do
we
went
about
that?
So
basically,
we
created
a
small
JavaScript
that
if
we
go
and
take
a
look,
it's
going
to
get
the
element
of
the
drop
down
width,
we're
gonna,
get
the
the
width
and
then
we're
gonna.
Take
our
the
extra
view
or
three
list
and
we're
gonna
pass
that
with
with
that
one.
We
make
sure
that
it
doesn't
matter
what
resolution
we
are.
A
And
in
the
meantime,
while
this
is
loading,
of
course,
if
you
are
in
The
dx3
View
and
you
are
changing
the
selection,
you
see
that
we're
gonna
set
the
selection
from
our
model
and
we're
gonna
close
the
combo
box
and
that's
pretty
much
it.
We
are
good
to
go.
We
have
our
lookup
with
the
three
list
implemented
and
it's
a
beauty.
Let's
give
it
a
second.
A
Here
you
go
taking
the
width
if
we
stay
in
the
way,
so
that's
all
for
this
video
I
always
like
to
show
this
example
just
to
to
one
more
time
try
to
write
that
everything
that
you
can
do
in
a
platform
like
inflation
and
windows
and
web.
You
should
be
able
to
do
it
in
yourself.
Okay,
thanks
for
watching
and
see
you
in
the
next
one.