Hi,
I'm having major issues getting my head around the various ways of indexing rows and records in the Controller and DataController classes. As an example, take this excerpt from the help:
"Do not confuse the View's Controller.FocusedRecordIndex and DataController.FocusedRecordIndex properties. The former specifies the row index of the focused record, i.e. the record's visual position (this is equivalent to the Index property of the Controller.FocusedRecord object and to the TcxCustomDataController.FocusedRowIndex property). The latter specifies the record index of the focused record, i.e. the position of the record in the data controller/dataset (this is equivalent to the RecordIndex property of the Controller.FocusedRecord object)."
To be honest, I'm finding this mindbendling difficult to understand and then remember and am spending inordinate amounts of time buried in the help files every time I want to deal with focused or selected records to make sure my code is doing what I think it's doing. Surely I can't be the only user who's commented on the complexity of this?
Has anyone written a simple® guide to this functionality that might help me better understand it?
Toby Groves