Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
558
CellValuePresenter Expandable Row Style
posted

I have a grid that contains a sublist under it.  I would like to display data on that parent record row only if the row is not expanded.  For example, I have a Toy and a Child object as defined below.  I only want to show the ParentName if the row is collapsed.  Is this possible?

public class Toy

    {

        public string ID { get; set; }

        public string Name { get; set; }

    }

 

    public class Child

    {

        public string Name { get; set; }

        public string ParentName { get; set; }

        public List<Toy> Toys { get; set; }

    }

Parents Reply Children