1. #1
    Sencha User
    Join Date
    Jun 2011
    Location
    Warsaw, Poland
    Posts
    38
    Vote Rating
    1
    Answers
    1
    sasklacz is on a distinguished road

      0  

    Default Answered: How to get acces to total count of models returned for InternalId

    Answered: How to get acces to total count of models returned for InternalId


    I'm doing some operations with copying tree nodes in grid, and the problem is that NodeInterface.copy() doesn't increment the InternalId of the model. This causes multiple problems afterwards when I want to append them to the RootNode. So is there a way to somehow get the number that is appended to internalId of phantom models ?

  2. ok I found, that Ext.Model.id(mymodel) produces the proper InternalId.

  3. #2
    Sencha User
    Join Date
    Jun 2011
    Location
    Warsaw, Poland
    Posts
    38
    Vote Rating
    1
    Answers
    1
    sasklacz is on a distinguished road

      0  

    Default


    ok I found, that Ext.Model.id(mymodel) produces the proper InternalId.

Tags for this Thread