PHP Classes

File: libs/Raptor/Component/systemBundle/Views/ui/templates/view/grid.js.twig

Recommend this page to a friend!
  Classes of william amed   Raptor 2   libs/Raptor/Component/systemBundle/Views/ui/templates/view/grid.js.twig   Download  
File: libs/Raptor/Component/systemBundle/Views/ui/templates/view/grid.js.twig
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Raptor 2
Framework that takes routes from annotations
Author: By
Last change:
Date: 8 years ago
Size: 900 bytes
 

Contents

Class file image Download
Ext.define('{{name}}.view.GenericList', { extend: 'Ext.grid.Panel', alias: 'widget.genericlist', store: 'Generic', title: "Generic grid - use Raptor.getTag('title') to integrate with language package ", iconCls:'', initComponent: function() { this.columns = [{ header:"Header", dataIndex: 'name', flex: 1 }]; this.dockedItems = [{ dock: 'top', xtype: 'toolbar', /* use this to auto-adjust privilege in the view items: [{ xtype: 'button', text: Raptor.getTag('add'), disabled:true, hidden:true, privilegeName:'insert', action:'addAction', iconCls:'icon-add' }]*/ }]; this.callParent(); } });