View Full Version : Ext.Flatten Not flatening array correctly

16 Jun 2011, 11:55 AM
Hello All,

Its the first time I'm using the Ext.flatten and I don't know if it behaving properly. I have the flowing array of arrays which I would like to be in 1 single array.

From my understanding the Ext.flatten should return all the elements (C_MGMT.. : VALUE) into 1 array {}.

Thanks in advance for any assistance in this matter.


{"C_MGMT_ID":"","CUST_ID":"1","C_MGMT_TARGET_TYPE":"Server","C_MGMT_TARGET":"858","CHANGE_MGMT_PRIORITY":"P1- High"},{"C_MGMT_USER":"ADMIN","C_MGMT_START_DATE":"2011-06-16 15:47:11","C_MGMT_END_DATE":"2011-06-16 15:47:14","C_MGMT_OUTAGE":"NO","C_MGMT_EXT_REF":"13591","C_MGMT_EST_TIME":"1"},{"C_MGMT_SUBJECT":"Replace 2 disks","C_MGMT_DESCRIPTION":"Replace 2 disks","C_MGMT_REASON":""},{}]

16 Jun 2011, 5:19 PM
Duplicate of http://www.sencha.com/forum/showthread.php?137359