dynamically creating many w2field combos in grid toolbar #2485
Closed
jankrnavek
started this conversation in
General
Replies: 1 comment
-
// update items directly and it should work
$(input).get(0)._w2field.options.items[0].text = '11'; |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello all,
In my app I dynamically create/remove many w2field combo objects as needed (according existing colum fields).
I do it in two steps.
At first I create toolbar items over
w2ui.grid.toolbar.add(itemDefinition)
then I initialize w2field object something like
It all seeems to work but...
I have three questions regarding w2field combos.
w2ui.grid.toolbar.remove(itemID)
enough considering w2field combo object?There is maybe some issue.
If I focuse input field (combo) , sometimes the dropdown item list don´t show all items getting from
items: getItemsFuction
. Re-focus e.g. going to next the input field and back to origin input helps.Thank in advance.
H.
Beta Was this translation helpful? Give feedback.
All reactions