extjs - Issue with Nested List when data does not contain 'text' node -
extjs - Issue with Nested List when data does not contain 'text' node -
i want render nested list such when drill downwards button shows name of parent node. tried looks if json getting doesn't have node name text
, won't work.
here fiddle local info (in app using store fetch service don't have command on name of nodes)
please note button title not populated when go downwards tree.
there displayfield
config of nestedlist
can specify field
used set title
, item text . default set text
can specify 1 of model
field.
here's working fiddle based on example. alter in config
of nestedlist @ bottom.
but, if overriding getitemtexttpl
or gettitletexttpl
, config ignored.
extjs sencha-touch sencha-touch-2 sencha-touch-2.1
Comments
Post a Comment