Ext 2.1 Breaking changes

  1. #1

    Ext 2.1 Breaking changes

    Hello,
    I update to 2.1 (WebForms) and found that there are breaking changes not mentioned in breaking changes document:
    * removed GridPanel.AutoHeight (http://forums.ext.net/showthread.php...sion-changelog)
    * name of Ext.Net.Paging properties are changed, so I must change
    <ext:JsonReader root="Data" totalProperty="TotalRecords" idproperty="Id" />
    to
    <ext:JsonReader root="data" totalProperty="total" idproperty="Id" />
    or
    <ext:JsonReader root="data" idproperty="Id" />
    I hope its all :-)
    Last edited by geoffrey.mcgill; Dec 10, 2012 at 4:34 PM. Reason: please use [CODE] tags
  2. #2
    Hi @PetrSnobelt,

    Thank you for the report.

    Quote Originally Posted by PetrSnobelt View Post
    Added a new item.

    146. The AutoHeight property has been removed.

    For some components like Window and GridPanel auto height applies automatically.

    Where it is not applied automatically, you can apply it via CSS.

    For example, BodyStyle="height: auto;" for a Panel or StyleSpec="height: auto;" for a Container.


    Quote Originally Posted by PetrSnobelt View Post
    * name of Ext.Net.Paging properties are changed, so I must change
    <ext:JsonReader root="Data" totalProperty="TotalRecords" idproperty="Id" />
    to
    <ext:JsonReader root="data" totalProperty="total" idproperty="Id" />
    or
    <ext:JsonReader root="data" idproperty="Id" />
    Added a new item.

    147. Now the Paging class's Data and TotalRecords properties are serialized as "data" and "total".

    So, if you use this class to generate a response for a Store, you should change:

    <ext:JsonReader Root="Data" TotalProperty="TotalRecords" />
    to
         <ext:JsonReader Root="data" TotalProperty="total" />

    TotalProperty="total" might be removed at all because it is by default.
  3. #3
    Will be great if this items are described into Breaking Changes document
    https://examples2.ext.net/#/Getting_...AKING_CHANGES/
    Last edited by geoffrey.mcgill; Apr 30, 2013 at 12:48 PM.
  4. #4
    Well, they are described there:)

    I posted here and updated that file at the same time.
  5. #5
    I think it's breaking change between 2.0 and 2.1 ...
  6. #6
    You are right. Thank you!

    I have updated the file.

Similar Threads

  1. Replies: 9
    Last Post: Dec 12, 2012, 5:04 AM
  2. [CLOSED] v2 Changes (breaking or otherwise)
    By peter.campbell in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Jan 11, 2012, 10:37 PM
  3. [1.0] Undocumented Breaking Changes
    By r_honey in forum Open Discussions
    Replies: 2
    Last Post: Dec 29, 2009, 1:33 PM
  4. Coolite 0.8 breaking changes
    By r_honey in forum Open Discussions
    Replies: 11
    Last Post: Jun 22, 2009, 5:16 AM

Tags for this Thread

Posting Permissions