Share via


ClearStructure Method (ModHFGrid)

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Clears any mapping information from the ModHFGrid regarding the order and name of the displayed columns. This information might have been set at design time using the Band tab of the Property Pages dialog box or the Retrieve Structure command on the shortcut menu.

This method makes it possible for you to reset the ModHFGrid to a known state. If the user programmatically changes the underlying source of the ModHFGrid (and that source has a different structure), execute this method to properly display the data.

Syntax

object.ClearStructure

The ClearStructure method syntax has one part:

Part Description
object An object expression that evaluates to the ModHFGrid Control object.

Remarks

If the structure is changed without clearing the mapping information, the ModHFGrid attempts to display the new source with the existing mapping information. Only columns specified in the mapping information display data in the ModHFGrid. Other columns specified in the mapping information display, however they do not show any data.

See Also

ModHFGrid Control