Hi,
How can i change the width of the expansion indicator both at the header/cell control. If i set the width of the cell to a smaller one i see the other columns do no re-arrange, so possible there is a static one time binding, can you tell how this can be achieved?
Thanks,
Rohit
Sorry forgot to mention i am using xamgrid
Hello Rohit,
I was looking into your description and I could suggest you to set a style for the RowSelectorCellControl and change the Width property there:
<Style TargetType="{x:Type igPrim:RowSelectorCellControl}">
<Setter Property="Width" Value="100"/>
</Style>
This will rearrange the other columns accordingly.
I have looked into the sample and the reason the style is not applied is that it should be set for the ExpansionIndicatorCellControl. Please excuse me for the misunderstanding as I have suggested using the RowSelectorCellControl style in my previous post. The row selector could be used when the RowSelectorSettings is set to visible which is not the case here.
I have attached a sample application using the code you have provided. Please feel free to let me know if this is the functionality you are looking for.
I am just checking if you require any further assistance on the matter.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics
www.infragistics.com/support
Sorry it didn't work in my case, i will try to create a sample for you later this week.
Thank you for your email. Looking forward to hearing from you.