ComponentOne List 8.0 for ActiveX
Clicking the rightmost column

The list always displays the leftmost column (the first visible column) in its entirety. The rightmost column, however, is usually clipped. The behavior of the last partially visible column when clicked by the user is controlled by the list's ExposeCellMode property.

The default value for the ExposeCellMode property is 0 - Scroll On Select. If the user clicks the rightmost column when it is partially visible, the list will scroll to the left to display this column in its entirety. This may be less desirable for users who commonly click on the list to begin editing, as the list will always shift to the left when the user clicks on a partially visible rightmost column.

If ExposeCellMode is set to 1 - Scroll On Edit, the list will not scroll when the rightmost visible column is clicked. However, if the user attempts to edit the cell, then the list will scroll to the left to display the column in its entirety. This is how Microsoft Excel works and is probably the most familiar setting to users.

If ExposeCellMode is set to 2 - Never Scroll, the list will not scroll to make the rightmost column visible, even if the user subsequently attempts to edit the cell. Note that editing may be difficult if only a small portion of the column is visible. The chief reason to use this setting is if you know there will always be enough space available for editing (or if you disallow editing) and you never want the list to shift accidentally.

Note that the ExposeCellMode property controls the behavior of the rightmost visible column only when the user clicks it with the mouse. If the rightmost column becomes visible by code (setting the list's Col property) or by keyboard navigation, then the list will always scroll to make it totally visible.

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback