Logged out, click to login

JEDI Online help - Details



Back to unit JvDataProviderIntf.pas Back Edit Search Administration

IJvDataConsumerViewList.ItemGroupInfo

Summary
Determine grouping information for an item.

Parameters
Index - 0-based index in the view list of the item to retrieve grouping information for. Allowed values range from 0 to Count-1 (both inclusive).

Description
ItemGroupInfo determines grouping information for an item. The returned array of integers represents a bit-wise mapping at each level to determine if there are more siblings at that level.<br> <br> This information can be used by a user interface consumer to determine at which level a vertical line should be drawn.<br> <br> Bit 0 of the first integer represents the state for the item itself (and thus tells if only the upper part of the vertical line is needed or not). Each following bit indicates the state at a level higher.<br> <br> If a bit is set to 0 there are no more siblings at that level and no vertical line (or only the upper part in case of bit 0 of the first integer) should be drawn in the user interface.<br> <br> If a bit is set to 1 there is at least one more siblings at that level and a vertical line should be drawn in the user interface.<br>

See Also
IJvDataConsumerViewList.Count, IJvDataConsumerViewList.ItemLevel,
IJvDataConsumerViewList.ItemSibling

Last changed by obones on 2009-01-04 21:13:55 CET

Copyright (c) 2004 by the JVCL Team; all rights reserved
Uses PclZip by phpconcept and parts of the PEAR library