Venkatesh:
Could you please give a sample code that a ComboBox Cell which loads from a DataTable where the DataTable is in the code behind. I am trying to get the answer for this question from very beginning. But everybody is pointing to an existing example which come with DataGridControl. That example is using DataTable from App context.
Application.Current is just the location I chose to place the property that exposes my data source. That said, you can have your property anywhere as long as the grid has access to it. For example, if you have a Window1 that contains your grid, you could do an AncestorType binding to find the window and get the property.
{Binding RelativeSource={RelativeSource AncestorType={x:Type local:MainWindow}}, Path=dataMapFields}
This binding assumes that you have declared an xmlns named local for your local namespace.
Technical Writer - Xceed Software
Of all the things I've lost, I miss my mind the most. - Mark Twain