Hi,
i am not able to get this work...
public
class ProductDTO
{
public int product_key { get; set; }
public string product { get; set; }
public string product_area { get; set; }
public String last_updated_by { get; set; }
public DateTime last_updated_on { get; set; }
}
public class ProductExtDTO
{
public IList<ProductDTO> Products;
}
PropertyRelation
relation = new PropertyRelation("product_area");
relation.IsSelfReference =
true;
Product_Grid.TableDefinition.Relation = relation;
Product_Grid.RowIndicatorVisibility =
Visibility.Visible;
if (tableDefinition != null)
{
Product_Grid.TableDefinition.ChildTableDefinitions.Clear();
Product_Grid.TableDefinition.ChildTableDefinitions.Add(tableDefinition);
}
Product_Grid.ItemsSource = ProductList.Products;
I don;t see any row details or hierarchy.
Thanks,
Sachin