View Full Version : DataView vs. DataPanel
13 Jul 2010, 7:10 AM
Sorry if my question sounds dumb, but what is the difference between the two besides the fact, that DataPanel inherits from Panel? I am reading the source of both components and it looks quite different, but I don't get it. What can be done with one, that can't be done with another?
14 Jul 2010, 11:28 AM
DataView extends DataPanel. DataPanel adds the ability to bind a store to the panel, adds events that automatically update changed rows etc. DataView adds the ability to select items in the datapanel, and in the future will also add capabilities to render components into each item.
14 Jul 2010, 11:51 AM
Sorry, I didn't notice that DataView extends DataPanel. I thought it is almost the same as in Ext JS, turns out it's quite different. It makes sense now. Thank you.
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.