PDA

View Full Version : How to get acces to total count of models returned for InternalId



sasklacz
23 Apr 2012, 6:11 AM
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 ?

sasklacz
23 Apr 2012, 12:16 PM
ok I found, that Ext.Model.id(mymodel) produces the proper InternalId.