Cod Snippet for Dynamically Adding Columns to a grid panel in Extjs4 Ext.create('Ext.data.Store', { storeId:'simpsonsStore', fields:['name', 'email', 'phone'], data:{'items':[ { 'name': 'Lisa', "email":"lisa@simpsons.com", "phone":"555-111-1224" }, { 'name': 'Bart', "email":"bart@simpsons.com", "phone":"555-222-1234" }, { 'name': 'Homer', "email":"home@simpsons.com", "phone":"555-222-1244" }, { 'name': 'Marge', "email":"marge@simpsons.com", "phone":"555-222-1254" } ]}, proxy: { type: 'memory', reader: { type: 'json', root: 'items' } } }); Ext.create('Ext.grid.Panel', { i...
that is very good idea but as for sencha gxt there are no easily documented tutorials.I understand that it's easy to manage with widgets, but it is not easy to work with RPC, data models, tables espesially in comparison with extjs 2.. which differs very much.
ReplyDeleteI found implementing models a lot easier in Gxt/Gwt than Extjs. I miss reflection in GWT, there's generators, but I wish there was a smarter way than doing a "print line" of each line of code of the class, there should be a smarter way of doing this. https://developers.google.com/web-toolkit/doc/latest/DevGuideCodingBasicsDeferred
ReplyDelete