I have a DataGrid which displays in one of its columns an "Employee ID". I would like to programmatically either while binding or after binding, change those cells' values from the employee id to the full name of the employee which is easily available.
Bottom line, how to change a cell's value after or during binding based on the cell's value.
SO:
1 would become jane doe 2 would become whatever james
User would not see the ids, just the post processed full name. How can this be done?
Currently I bind data to the datagrid from a datatable from sql. I tried tapping into the data through the datatable before binding it instead but came to the issue that the employee id is an int32 and i'd have to change it to string and could not find a decent way of doing that either.
Any ideas would be greatly appreciated!