gcSpreadSheet1.Sheets[0].RowRangeGroup.Group(0, 2);
private void gcSpreadSheet1_RangeGroupStateChanged(object sender, GrapeCity.Windows.SpreadSheet.UI.RangeGroupStateChangedEventArgs e)
{
listBox1.Items.Add(e.Index.ToString());
listBox1.Items.Add(e.IsRowGroup.ToString());
listBox1.Items.Add(e.Level.ToString());
}
private void gcSpreadSheet1_RangeGroupStateChanging(object sender, GrapeCity.Windows.SpreadSheet.UI.RangeGroupStateChangingEventArgs e)
{
listBox1.Items.Add(e.Index.ToString());
listBox1.Items.Add(e.IsRowGroup.ToString());
listBox1.Items.Add(e.Level.ToString());
}