Hello,
I'm using a xamdatagrid and I need to have numbering on the records. does the xamdatagrid have a feature to automatically add row numbering to the grid. Since now the numbering is a field in the data source and I have some problems related to this way of implementing the numbering of the records.
Thank you
Please see the following forum thread for one example of how to enable record number:
<http://news.infragistics.com/forums/t/40391.aspx>
At this time, the XamDataGrid does not have a property or setting that will automatically enable row numbering. If you would like, we can log a feature request for this to be implemented.
Please let me know if I can be of further assistance.
Hello Jason,
Yes I would like to place a feature request for automatic row numbering. Can you please guide me through the stept.
I have a datagrid that contains items and i also need the sorting that the datagrid provides. so binding the sequence number from the datasource is not really working for me, even with the posibility of handling the "sorting" and "sorted" events, since I work with a mvvm architecture and would like to keep the code behind of the control as clean as possible.
Thank you.
I see that I did not actually mentioned the problem that I am facing. I have a datagrid and the numnering of the records is in the datasource. so far so good i update the numbering on every add or remove operation. The problem occurs when I sort the records, then the numbering of the rows gets mixed up.
dvsegmgb, did you solve your problem with sorting and record indexes? I want to implement it too, but I don't know how (when I sort records, record indexes also sorts).
unfortunately not yet. did you provide your numbering from the view model through the data source binding too ?I am using a MVVM developing pattern and
I did not figure a way to do this but I was thinking to add the row numbering from the code behind since it does not really has any link to my data, rather is a characteristic of the grid it's self and in this manner I think I will be able to sort it by handling the sorted or sorting events. This way I will not create any inconsistency with the datasource
I have not working solution too :(.