PDA

View Full Version : Is there a control that will emulate a xaml "grid" (its bit like a table layout)



zz9pa
12 Nov 2013, 7:52 AM
I know there is a "table layout" - the main thing I need to be able to do is to place controls within the table explicitly - rather than just by setting colspan and hoping it will all work :)

So - something like :


Ext.create (http://docs.sencha.com/extjs/4.2.2/#!/api/Ext-method-create)('Ext.panel.Panel (http://docs.sencha.com/extjs/4.2.2/#!/api/Ext.panel.Panel)', { title: 'Table Layout', width: 300, height: 150, layout: { type: 'some_magic_table', columns: 3 }, items: [{ html: 'Cell A content', column:0, row:0 },{ html: 'Cell B content', row:1, column:0 }], renderTo: Ext.getBody (http://docs.sencha.com/extjs/4.2.2/#!/api/Ext-method-getBody)()});
Is there something like that available already ?

scottmartin
13 Nov 2013, 8:10 PM
The main thing I need to be able to do is to place controls within the table

Do you mean something like this? (components in grid cells)
http://skirtlesden.com/ux/component-column