I will get onto this as soon as possible. I've added some notes to the ticket.
We can allow configurable UI gestures to cause the current typed string to create a new record for the store in a definable way. I would suggest a config recordCreater
which is a function (or reference to a function - could be the name of a function) which you supply which, when passed the typed value, creates a new record.
In the absence of that, the default would be to just create a new record of the store's type with the displayField
set to the string.
The new record will be added to the store and set as the current active item and selected. If the combo is multiSelect
, this would add to the value.
If the Combo's Store is an AjaxStore and is configured to sync itself (https://www.bryntum.com/docs/grid/#Core/data/AjaxStore#config-createUrl), it should sync.
Obviously the part about then manipulating your grid would be part of your app. You would listen to data events on the Combo's store to see what's happening to it, and update your UI accordingly.