How can I display the row numbers in XamDataGrid. In UltraWinGrid there used to be a property called RowSelectorNumberStyle to do this. What's the equivalent for XamDataGrid?
Hello,
It has been a while since you have made your post, in case you still need support I will be glad to assist you further. I suppose the other community members can benefit from this answer as well. So I have been looking through you post and I suggest you use the following style:
<Style TargetType="{x:Type igDP:RecordSelector}"> <Setter Property="Template"> <Setter.Value> <ControlTemplate> <Label Content="{Binding RelativeSource={RelativeSource TemplatedParent},Path=Record.Index}"/> </ControlTemplate> </Setter.Value> </Setter> </Style>
In order to get the look you want.
Feel free to write me if you have further questions.
Thanks for your reply.
The solution you suggested works fine in most cases, but in our case, we have the Record fixing enabled. When I override the record selector style as you suggested, I also lose the record fixer symbols.
Is there a way we can have both, the row number as well as record fixer symbol?
Thanks,
Mihir.