sorry to bother i finally found.
by using a VisualDataModel
there's a rootIndex property