Results 1 to 2 of 2

Thread: Problem with related storage

  1. #1
    Sencha User
    Join Date
    Feb 2019
    Posts
    1

    Default Problem with related storage

    Hello

    When fragmenting the example "RELATED STORAGE MASTER DETAIL" for individual files, I had a problem.
    If the sample (https://fiddle.sencha.com/#fiddle/1735) code is working, then fragmented code (https://fiddle.sencha.com/#fiddle/2tvl&view) is not.
    An app.js error occurs: 29 Uncaught TypeError: masterStore.getAt (...). Details is not function
    What am I doing wrong ?

  2. #2
    Ext Support Team
    Join Date
    Jan 2018
    Posts
    569
    Answers
    7

    Default

    Hello,

    Thank you for contacting Sencha Support!

    We define the getter name in Fiddle.model.Detail on the inverse property of the reference - which tells MASTER (the inverse side of the association)
    what the getter name is to retrieve the Detail records.


    please check this fiddle which will help you to get rid of your issue:


    https://fiddle.sencha.com/#view/editor&fiddle/2ui0

    Regards,
    Kumar
    Sencha Support.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •