DisplayLayout Object

Glossary Item Box

Infragistics® NetAdvantage® for ASP.NET (CLR 2.0)

DisplayLayout Object

The DisplayLayout property of the WebGrid control is where the majority of customization will take place. The DisplayLayout property provides settings related to functionality, styling and even data entities. With an intuitive property design, you can easily identify the various functionalities that can be configured by the self-explanatory property names that are used throughout the object model.

You can specify styling information for each object directly through its Style property or by associating a CSS Class name so that you can create your specific look and feel. You can customize the entities that represent the data model in different ways; for example, showing or hiding columns, customizing the ability to allow updating and deleting of records, as well as specifying different kinds of editors that will be associated with the cells of a column during edit mode.

The DisplayLayout property is also conveniently exposed through the event arguments of WebGrid's default InitializeLayout event so that you can perform all of these customizations dynamically at run time .

E-mail your feedback on this topic.

Opinion about our help? Take our survey.

Copyright © 1996-2007 Infragistics, Inc. All rights reserved.

Build Version: 7.2.20072.1063