Mercurial > lada > lada-client
view app/view/sql/List.js @ 17:3eaeeec2bb28
Changed layout and added Listeners to show the correct variable definition for
the selected sql query.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Tue, 30 Apr 2013 17:55:48 +0200 |
parents | 4faac2a04345 |
children | f964a50bfe57 |
line wrap: on
line source
Ext.define('Lada.view.sql.List' ,{ extend: 'Ext.grid.Panel', alias: 'widget.sqllist', store: 'Sql', initComponent: function() { this.columns = [ {header: 'ID', dataIndex: 'id', flex: 1}, {header: 'Kurzname', dataIndex: 'name', flex: 1}, {header: 'SQL', dataIndex: 'desc', flex: 1} ]; this.callParent(arguments); } });