Results 1 to 2 of 2

Thread: Custom Grid Columns w/out using @renderer or an XTemplate?

  1. #1
    Sencha User JamieMason's Avatar
    Join Date
    Apr 2010
    Location
    Leeds, UK
    Posts
    42

    Default Custom Grid Columns w/out using @renderer or an XTemplate?

    Say I create a view such as;

    Code:
    Ext.define('MyApp.view.MyView', {  extend: 'Ext.container.Container',
      alias: 'widget.myView',
      items: [/*
        ... etc
      */]
    });
    How can I re-use this code within a Grid Column? I've seen @items in the column docs (http://docs.sencha.com/ext-js/4-1/#!...lumn-cfg-items) and also @defaultType (http://docs.sencha.com/ext-js/4-1/#!...fg-defaultType) but without any luck.

    Does anyone know how to do this? Thanks.

  2. #2
    Ext JS Premium Member
    Join Date
    Jan 2010
    Location
    San Diego, CA
    Posts
    254
    Answers
    5

    Default

    Check out this user extension to include a component into a column. http://www.sencha.com/forum/showthre...lumn.Component

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •