JVCL Help:IJvDataConsumerViewList.ItemGroupInfo

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Determine grouping information for an item.


Pascal

 functionItemGroupInfo(Index: Integer): TDynIntegerArray;


Parameters

Parameters Description
Index: Integer 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. This information can be used by a user interface consumer to determine at which level a vertical line should be drawn. 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. 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. 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.


See Also

IJvDataConsumerViewList.Count, IJvDataConsumerViewList.ItemLevel, IJvDataConsumerViewList.ItemSibling


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page