In this example the initial Combobox data items are get using the data() method of the DataSource component and converted to JavaScript Array object using the slice() method. The new items are then added to the array and the datasource data is finally updated only once. In this way the performance is improved since the widget event handlers and rendering are not refreshed on each datasource change.