Darren Young
Darren Young

Reputation: 11100

Xceed GridControl

I have an Xceed gridcontrol, with a GroupByRow control on there. When the groups are populated, the GroupByRow width, is only as width as the columns on there. There does not seem to be an option to expand the width to the size of the actual gridcontrol.

Does anybody know a way around this?

Upvotes: 0

Views: 908

Answers (2)

Nerd in Training
Nerd in Training

Reputation: 2230

I would suggest setting the last Column Width to * so that you can stretch the last Column to the end. This should stretch the GroupByControl all the way to the end of the DataGridControl.

Upvotes: 1

Robin Maben
Robin Maben

Reputation: 23094

Is the source code for the control available to you? A little tweaking of the Datagrid style resources might help.

Either ways, I guess you could try binding the width to some other control with 'predicatable'(term used loosely) width.

Assume, the DataGrid is contained within a Grid named "gridContaingDataGrid", Then..

<GroupByRow  Width="{Binding Path=ActualWidth, ElementName=gridContaingDataGrid}" .../>

Upvotes: 0

Related Questions