PDA

View Full Version : SENCHA-0.90 - Which is closer to EditorGridPanel in EXTJS? DataView or DataPanel



fuzelogic
6 Jul 2010, 11:56 AM
All,

Is DataView or DataPanel the right component to display simple grid data such as a first name field?

I'm working with the AJAX example and would like convert an existing program that is currently returning JSON. I will have about 5 rows per record.


In AJAX success to write to the EXT.Panel:


Ext.getCmp('content').update(response.responseText)

I'm getting the data returned from PHP and displayed in the Ext.Panel (Simple Text - but not formatted from the server)

TommyMaintz
6 Jul 2010, 1:39 PM
DataView is closer I guess, but it still is pretty far of from an EditorGridPanel... :)