Exemple #1
0
 void Grid_GroupColumnMoved(object sender, C1GridViewGroupColumnMovedEventArgs e)
 {
     /*Subtotals = null;
      * var newIndex = GetColumnIndex(e.Column);
      * if (_tempGroupedColumns < Grid.GroupedColumns.Count)
      * {
      *  newIndex = e.DestIndex;
      *  var col = Grid.Columns[newIndex];
      *  Grid.Columns[newIndex] = Grid.Columns[_tempColumnIndex];
      *
      *  for (var i = newIndex + 1; i <= _tempColumnIndex; i++)
      *  {
      *      var colAux = Grid.Columns[i];
      *      Grid.Columns[i] = col;
      *      col = colAux;
      *  }
      * }
      * UpdateColumnIndex(_tempColumnIndex, newIndex);
      */
     GroupColumn(e.Column, _tempColumnIndex, e.DestIndex, _tempGroupedColumns);
     Bind();
 }
Exemple #2
0
 protected void GridConsumos_GroupColumnMoved(object sender, C1GridViewGroupColumnMovedEventArgs e)
 {
 }