code: function() {
          this._calculateColumns();
  
          this.fireEvent('rendering');
  
          var element = this.element,
              items = this.items;
  
          // No items
          if (!items.length) {
              element.removeAttr('style');
  
          // Single column
          } else if (this.colCount <= 1) {
              element.removeAttr('style').addClass('no-columns');
              items.removeAttr('style');
  
          // Multi column
          } else {
              element.removeClass('no-columns');
  
              this._organizeItems();
              this._positionItems();
          }
  
          this.fireEvent('rendered');
      }
docs: Calculate and position items in the grid.