Column.index and Column.itemindex |
Post Reply |
Author | |
joeliner
Senior Member Joined: 09 June 2006 Status: Offline Points: 273 |
Post Options
Thanks(0)
Posted: 14 February 2007 at 8:11am |
Hi team, Where is which applicable? .index and .itemindex in columns In prior versions i dint have a problem with foot totals of respective columns when the user reorganizes the columns. With current version, i guess from 10.4.1, when you reorganize columns, itemindex order follows columns order s making totals to show under different columns. Currently using work around to determine column.caption to draw totals. Some advice? thanks |
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
ItemIndex is actually an index of a corresponding record item. Record has a constant structure -- some number of items in strict order, and they are always numbered from zero up to some number, and each of them has an associated column. By calling .Record(SomeItemIndex) you can always get a required item.
In the same time column's Index shows only a position of a column in the columns array. It could be changed by drag-n-drop user operation, or somewhere in code... In the same time this column is still associated with a specific record item, with number ItemIndex in record items array. Hope this description helps a bit. -- WBR, Serge |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |