[CLOSED] How to place list objects in server mapping

  1. #1

    [CLOSED] How to place list objects in server mapping

    In this example

    https://examples1.ext.net/#/GridPane...erver_Mapping/

    I want to place list of objects in server mapping some thing like this.

    <ext:RecordField Name="Department" ServerMapping="Department[0].Name" />
    Last edited by geoffrey.mcgill; Nov 17, 2010 at 8:45 PM. Reason: please use [CODE] tags, [CLOSED]
  2. #2
    Hi,

    No, this is not supported. Please clarify what are you trying to achieve?
  3. #3

    Hi

    Daniil,

    Previously we are using some thing like this in gridpanel prepare function

     <script type="text/javascript">
            var prepare = function (value, rec) {
                alert(value.ItemNo);
                rec.ItemNo = value.ItemNo;
                rec.Description = value.Description;
                if (value.ManufacturerItems != null) {
                    if (value.ManufacturerItems[0] != null) {
                        if (value.ManufacturerItems[0].Manufacturer != null) {
                            rec.Name = value.ManufacturerItems[0].Manufacturer.Name;
                            rec.Number = value.ManufacturerItems[0].Manufacturer.Number;
                        }
                    }
                }
            };        
        </script>
    But now its not supporting this format, can you please let me know how can we use this format in version of 1.3
    Last edited by geoffrey.mcgill; Nov 16, 2010 at 5:06 AM. Reason: please use [CODE] tags
  4. #4
    Hi sriram,

    In future forum posts, please wrap your code samples in [CODE] tags.
    Geoffrey McGill
    Founder
  5. #5
    Hi,

    Try to set IsComplex="true" for the RecordField

Similar Threads

  1. [CLOSED] Place focus in first row of grid
    By Pablo_Azevedo in forum 1.x Legacy Premium Help
    Replies: 8
    Last Post: Mar 23, 2012, 4:09 PM
  2. [CLOSED] Allow Users To Order a List of [Objects]
    By garrisrd in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Apr 18, 2011, 3:11 PM
  3. [CLOSED] Can we place text on Image Button
    By sriram in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Dec 21, 2010, 7:45 AM
  4. Replies: 5
    Last Post: Dec 18, 2009, 9:50 AM
  5. mapping more complex objects to a Store
    By principal_X in forum 1.x Help
    Replies: 2
    Last Post: Jan 26, 2009, 6:16 PM

Tags for this Thread

Posting Permissions