nl_tokens: Renderer closure iterates through items creating an <img > element for each and tagging with an identifying class name x - action - col - { n }
pl_tokens: function ( v , meta , record , rowIdx , colIdx , store , view ) { var me = this , prefix = Ext . baseCSSPrefix , scope = me . origScope || me , items = me . items , len = items . length , i = 0 , item , ret , disabled , tooltip ; // Allow a configured renderer to create initial value (And set the other values in the "metadata" argument!) // Assign a new variable here, since if we modify "v" it will also modify the arguments collection, meaning // we will pass an incorrect value to getClass/getTip ret = Ext . isFunction ( me . origRenderer ) ? me . origRenderer . apply ( scope , arguments ) || '' : '' ; meta . tdCls += ' ' + Ext . baseCSSPrefix + 'action-col-cell' ; for ( ; i < len ; i ++ ) { item = items [ i ] ; disabled = item . disabled || ( item . isDisabled ? item . isDisabled . call ( item . scope || scope , view , rowIdx , colIdx , item , <mask> ) : false ) ; tooltip = disabled ? null : ( item . tooltip || ( item . getTip ? item . getTip . apply ( item . scope || scope , arguments ) : null ) ) ; // Only process the item action setup once. if ( ! item . hasActionConfiguration ) { // Apply our documented default to all items item . stopSelection = me . stopSelection ; item . disable = Ext . Function . bind ( me . disableAction , me , [ i ] , 0 ) ; item . enable = Ext . Function . bind ( me . enableAction , me , [ i ] , 0 ) ; item . hasActionConfiguration = true ; } ret += '<img alt="' + ( item . altText || me . altText ) + '" src="' + ( item . icon || Ext . BLANK_IMAGE_URL ) + '" class="' + prefix + 'action-col-icon ' + prefix + 'action-col-' + String ( i ) + ' ' + ( disabled ? prefix + 'item-disabled' : ' ' ) + ' ' + ( Ext . isFunction ( item . getClass ) ? item . getClass . apply ( item . scope || scope , arguments ) : ( item . iconCls || me . iconCls || '' ) ) + '"' + ( tooltip ? ' data-qtip="' + tooltip + '"' : '' ) + ' />' ; } return ret ; }