What is the correct approach to be followed for setting value to a combobox in Extjs 4.2. Prior to Extjs 4.2, the combobox with remote store was set using the following piece of code.
var book= Ext.create('Test.model.Book', bookValues);
bookCombo.store.loadRawData([book]);
bookCombo.setValue(book.getId());
bookCombo.setRawValue(book.get('name'));
bookCombo.displayTplData = book.data;
bookCombo.fireEvent('change', bookCombo, book.getId());
But the above piece of code doesn't set the value of the remote combo correctly since 4.2.