Hi Christopher,
Thanks for your patience.
You can achieve your requirement by handling the CurrentCellActivated and CurrentCellDeactivating event in the following ways.
Code snippet [C#]:
this.grid.CurrentCellActivated += new Syncfusion.Windows.ComponentModel.GridRoutedEventHandler(grid_CurrentCellActivated);
this.grid.CurrentCellDeactivating += new Syncfusion.Windows.ComponentModel.GridCancelRoutedEventHandler(grid_CurrentCellDeactivating);
void grid_CurrentCellActivated(object sender, Syncfusion.Windows.ComponentModel.SyncfusionRoutedEventArgs args)
{
this.grid.Model.RowHeights[this.grid.CurrentCell.RowIndex] = 50;
this.grid.Model.InvalidateVisual();
}
void grid_CurrentCellDeactivating(object sender, Syncfusion.Windows.ComponentModel.SyncfusionCancelRoutedEventArgs args)
{
this.grid.Model.RowHeights[this.grid.CurrentCell.RowIndex] = this.grid.Model.RowHeights.DefaultLineSize;
this.grid.Model.InvalidateVisual();
}
We have prepared a sample based on this and you can find the sample under the following location
Sample :
http://www.syncfusion.com/downloads/Support/DirectTrac/86767/CS-1288539346.zipPlease let us know if you have any queries.
Thanks,
Jawahar.