Results 1 to 4 of 4

Thread: Unable to use componentdataview in Ext JS 6.5

  1. #1
    Sencha Premium Member
    Join Date
    Jan 2016
    Posts
    32

    Question Answered: Unable to use componentdataview in Ext JS 6.5

    Hi,


    I am facing some issues while trying to use the new componentdataview in Ext JS 6.5. Previously all worked fine with useComponents config in previous versions.
    Now I am seeing a blank screen with no errors.


    Here is a sample fiddle for this.


    https://fiddle.sencha.com/fiddle/2gb2


    Not sure if I'm going wrong somewhere or this a bug.


    Please help. Thanks in advance.

  2. Check this Fiddle:


  3. #2
    Sencha Premium Member
    Join Date
    Jun 2011
    Location
    NL
    Posts
    253
    Answers
    22

    Default

    Check this Fiddle:


  4. #3
    Sencha Premium Member
    Join Date
    Jan 2016
    Posts
    32

    Default

    Thanks Richard for your reply.

    Your answer led me to the complete solution. The trick was to use 'itemConfig' instead of 'defaultType' config. Also I needed to use the 'updateRecord() Fn', therefore I completely ignored the 'itemDataMap' config.

    Here is the working fiddle.

    https://fiddle.sencha.com/fiddle/2gkr

  5. #4
    Sencha Premium Member
    Join Date
    Jun 2011
    Location
    NL
    Posts
    253
    Answers
    22

    Default

    Great!

Similar Threads

  1. Replies: 2
    Last Post: 7 Nov 2017, 6:30 AM
  2. ComponentDataView - Ext components inside a dataview or listview
    By Condor in forum Ext 3.x: User Extensions and Plugins
    Replies: 62
    Last Post: 4 Nov 2015, 9:12 PM
  3. why does not ComponentDataView work?
    By zhangwl in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 3 Dec 2010, 3:34 AM
  4. why does not ComponentDataView work?
    By zhangwl in forum Sencha Touch 1.x: Examples and Showcases
    Replies: 0
    Last Post: 2 Dec 2010, 1:17 AM

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
  •