[CLOSED] Store with Complex Object

  1. #1

    [CLOSED] Store with Complex Object

    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
    Last edited by Daniil; Sep 18, 2012 at 12:29 PM. Reason: [CLOSED]
  2. #2
    Please provide runnable test sample
    How the store is configured? How do you bind the data?
    Vladimir Shcheglov
    Sr. Developer

Similar Threads

  1. Help! Updating Store with complex data...
    By maxiom in forum 1.x Help
    Replies: 1
    Last Post: Aug 06, 2012, 8:49 AM
  2. store and complex key
    By maxdiable in forum 1.x Help
    Replies: 1
    Last Post: Nov 26, 2010, 6:46 PM
  3. Replies: 4
    Last Post: Feb 02, 2010, 1:00 PM
  4. Represent Complex Object on a Grid
    By nanosassa in forum 1.x Help
    Replies: 0
    Last Post: Sep 03, 2009, 1:38 PM
  5. Send complex object to AjaxMethod
    By glenh in forum 1.x Help
    Replies: 2
    Last Post: Aug 13, 2009, 10:01 AM

Posting Permissions