Datagrid row height propagation

Grids for WPF Forum

The latest build of this product (v25.1.1) was released 2 months ago, which was before this thread was created.
Posted 10 days ago by Procam
Version: 25.1.1
Avatar

Hello,

I'm using Actipro's ThemedDataGrid, which inherits from WPF's DataGrid. As I know the datagrid should follow a similar behaviour as Excel sheet. The issue I want to clarify with you is the following: in Excel when user selects more rows and increases the height of some of the rows, then the height of the other selected are increased too. How to achieve this behaviour? I was not able to find some 'RowHeigthChanged' event ot something similar.

Comments (1)

Posted 9 days ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

As you noted, our ThemedDataGrid is just a custom theme applied to WPF's DataGrid, so we do not have control over functionality like what you are requesting.  I spent some time searching for a solution, but did not find anything obvious.

While there is not a generic RowHeightChanged event, each DataGridRow in the DataGrid does have a SizeChanged event that I would expect to be raised if the height of a row was resized.  You might be able to hook into that event, detect the new height, and then apply it to all DataGridRow instances that are part of the current selection.


Actipro Software Support

Add Comment

Please log in to a validated account to post comments.