Results 1 to 3 of 3

Thread: What happened to getAdditionalData in 4.2.x?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Ext JS Premium Member
    Join Date
    Feb 2009
    Posts
    487
    Answers
    4

    Default What happened to getAdditionalData in 4.2.x?

    getAdditionalData used to "Provide additional data to the prepareData call within the grid view."

    Now it only seems to exist inside the RowBody feature and I can't use that if I don't want to add additional markup to my grid rows.....right?

    ...except it doesn't exist in RowBody. It's listed as 'getAdditionalData' in the docs but is called setupRowData in the code base.

  2. #2
    Sencha User slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,165
    Answers
    505

    Default

    Hi,

    I checked with engineering and it appears that it getAdditionalData existed initially for the sole benefit of the rowBody class so was relocated to that class in 4.2 (having been attached to the Base class originally in error).

    I did explain to engineering the use case you presented previously and we're looking at adding that type of functionality back into a lower class level in the future (though that will be considered for the current version of the framework rather than 4.x).

    We're sorry for the inconvenience this may have caused you.

  3. #3
    Ext JS Premium Member
    Join Date
    Feb 2009
    Posts
    487
    Answers
    4

    Default

    So there's a couple of things to address here:

    1. getAdditionalData is in the docs for the RowBody feature. This is documented incorrectly. Clicking 'source' takes you to a function called setupRowData

    Docs link: http://docs-origin.sencha.com/extjs/...AdditionalData

    Source link: http://docs-origin.sencha.com/extjs/...AdditionalData

    2. It is possible to put this functionality back in place in a general feature you're creating from scratch. I may post more about this in future if my employer lets me but until then, if you use the RowBody feature as inspiration, you should be able to work it out.

Similar Threads

  1. What happened to the 3.0.0 docs?
    By Tom23 in forum Ext 3.x: Help & Discussion
    Replies: 5
    Last Post: 29 Oct 2009, 6:08 AM
  2. What happened to ColumnTree?
    By brucevanhorn2 in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 16 Jun 2009, 12:14 PM
  3. What happened?
    By stever in forum Community Discussion
    Replies: 5
    Last Post: 15 Apr 2009, 8:06 PM
  4. What happened?
    By methodinsane in forum Ext GWT: Help & Discussion (1.x)
    Replies: 0
    Last Post: 22 Apr 2008, 4:04 AM

Posting Permissions

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