[CLOSED] MVC GridPanel Complex Type

  1. #1

    [CLOSED] MVC GridPanel Complex Type

    I have a grid panel which has a complex type in the store (Contact). I can see the data if I inspect the store. For my ColumnModel, I want to display the contact's name. I tried
    .DataIndex("Contact.Name")
    but that didn't work. I also tried using the .Tpl property to set up a template, but either I do not understand how the template HTML should be structured, or that wasn't the right approach. Can you exemplify how to implement this correctly?
    Last edited by geoffrey.mcgill; Sep 29, 2012 at 2:03 AM. Reason: [CLOSED]
  2. #2
    Hi,

    Please use IsComplex and/or Convert options. Also you might need to configure Column Renderer.
    https://examples2.ext.net/#/GridPanel/Data_Presentation/Data_Prepare/
    https://examples2.ext.net/#/GridPane...Field_Mapping/

Similar Threads

  1. Replies: 7
    Last Post: Oct 02, 2012, 8:05 PM
  2. Change input type based on data type
    By bjones in forum 1.x Help
    Replies: 5
    Last Post: Jan 06, 2012, 9:54 AM
  3. [CLOSED] Render property of type List<T> in GridPanel column
    By martin.mosimann in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Feb 08, 2011, 4:16 PM
  4. Replies: 4
    Last Post: Feb 02, 2010, 1:00 PM
  5. Replies: 5
    Last Post: Jan 16, 2009, 2:50 PM

Tags for this Thread

Posting Permissions