In the treelist when i select a particular row the selection color changes in all columns of that particular row except the one i am clicking.
I want to change this behaviour. I need to have uniform selection for every column. ie The whole row has to be shown in same color when selected.
The situation is worse when there is only one column in treelist and when i select/multiselect a row, no selection color is visible.
How to fix this? Please help urgently.
It is the Treelist we were talking to.
<dxg:TreeListControl x:Name="treeList"> <dxg:TreeListControl.Columns> <dxg:TreeListColumn FieldName="Name" Header="Name" AllowSorting="False" AllowColumnFiltering="False" AllowAutoFilter="False" AllowEditing="False" Width="Auto"/> </dxg:TreeListControl.Columns> <dxg:TreeListControl.View> <dxg:TreeListView AllowEditing="False" NavigationStyle="Row" /> </dxg:TreeListControl.View> </dxg:TreeListControl>
Thank you for your inquiry. The cause of this behavior is that the selected cell is highlighted. I suggest you set the DataViewBase.NavigationStyle property to Row to select rows instead of cells and overcome this situation.
Feel free to ask for additional information if necessary.