View Full Version : Delimiter in extjs 4.0.2

23 Oct 2013, 7:11 AM
I am using extjs 4.0.2 and I have a multi select combo box. I want to change the default delimiter "," to "~". The display part is working the fine the way data is displayed in the combo box. The delimiter is replaced but when I post the data and try to save it, the data is posted with comma seperated values not with the delimiter I set. How can I change the delimiter that is posted.
Thanks in advance.

25 Oct 2013, 5:17 AM
This is only for the display.

How is your submit setup? Do you send the items as a standard submit as separate items?

You server side should be able to handle comma .. are you saving string to a single field?

Anyhow, you could possibly override:

Ext.define('Ext.form.override.Basic', {
override: 'Ext.form.Basic',

getValues: function(asString, dirtyOnly, includeEmptyText, useDataValues, isSubmitting) {
// make changes to this function to change


25 Oct 2013, 5:18 AM
Also .. you should really consider upgrading to our latest version. 4.0.x was very buggy.