PDA

View Full Version : [CLOSED] Store with Complex Object



mcfromero
Sep 11, 2012, 6:56 PM
Hi,

I'm having problems to show values in my grid when getting data from complex object. I'm using Razor.

I have the following class:


public class DefaultResult
{

private ResultData _data { get; set; }

public bool Success { get; set; }
public ResultData Data
{
get
{
if (_data == null)
_data = new ResultData();
return _data;

}

set
{
_data = value;
}

}
public string ErrorMessage { get; set; }
private DataType DataType { get; set; }
}



public class ResultData
{
public Object Value { get; set; }
}

where my list of values to be shown are sent in "Data" property.

But no values are displayed. Can you help me?

Thank you

Vladimir
Sep 11, 2012, 9:19 PM
Please provide runnable test sample
How the store is configured? How do you bind the data?