code: function columnsByPin(cols) {
      var ret = {
          left: [],
          center: [],
          right: []
      };
      if (cols) {
          for (var _i = 0, cols_1 = cols; _i < cols_1.length; _i++) {
              var col = cols_1[_i];
              if (col.frozenLeft) {
                  ret.left.push(col);
              }
              else if (col.frozenRight) {
                  ret.right.push(col);
              }
              else {
                  ret.center.push(col);
              }
          }
      }
      return ret;
  }
docs: Returns the columns by pin.