View Full Version : store insert and render

14 Aug 2010, 9:54 AM
Hi all,
I've a silly question, but I've not been able to figure out any answers browsing both FAQ and API.
If I define a new record and then I insert it into my store, is the default column renderer applied to it?

The fact is that I've a grid where all records inside are rendered in a certain way relying on values calculated from store. I'd like to add a new record inside that store and I want it to be displayed inside my grid but this operation fails because new record's values cannot be processed by the original render.

How can I solve this?

14 Aug 2010, 10:54 AM
Create a Record using the Record constructor which you created and configured the Reader with.

Unless you used one of these shortcut classes which hide the fact that there is a Record constructor.

Then add the Record. It will Just Work.