I am using a datagrid. It has itemEditor components, combo boxes, etc. as aprt of columns. Ideally datagrid.invalidateList() method works to reload the datagrid with new dataProvider data.
But, for me it is appending to the old data and new data gets added below the older data. I am not able to fix this reload of datagrid.
Use ArrayCollection, not Array! ArrayCollection provides all the change notification machinery you need. Array does not.