Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2014
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. constructor: function(config) {
  2. Ext.apply(this, {
  3. features : [{
  4. ftype: 'filters',
  5. encode: true,
  6. local: false,
  7. filters: [{
  8. type: 'string',
  9. dataIndex: 'name'
  10. },{
  11. type: 'string',
  12. dataIndex: 'priority'
  13. },{
  14. type: 'list',
  15. store: Ext.getStore('adminCategory'),
  16. dataIndex: 'adminOrg',
  17. labelField: 'displayName'
  18. },{
  19. type: 'list',
  20. store: Ext.getStore('adminClientList'),
  21. dataIndex: 'client',
  22. labelField: 'name',
  23. listeners: {
  24. activate: function(obj, eOpts) {
  25. console.log(obj);
  26. }
  27. }
  28. }]
  29. }]
  30. });
  31. this.callParent(arguments);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement