[]
        
(Showing Draft Content)

C1.Web.Mvc.DataMap

DataMap Class

Represents a data map for use with the column's DataMap property.

Inheritance
DataMap
Namespace: C1.Web.Mvc
Assembly: C1.Web.Mvc.dll
Syntax
public class DataMap
Remarks

Data maps provide the grid with automatic look up capabilities. For example, you may want to display a customer name instead of his ID, or a color name instead of its RGB value.

Constructors

Name Description
DataMap()

Creates one DataMap instance.

DataMap(HtmlHelper)

Creates one DataMap instance.

Properties

Name Description
DisplayMemberPath

Gets or sets the name of the property to use as the visual representation of the item.

IsEditable

Gets or sets a value that indicates whether users should be allowed to enter values.

ItemsSource

Gets the ItemsSource settings.

OnClientMapChanged

Occurs when the map data changes.

SelectedValuePath

Gets or sets the name of the property to use as a key for the item (data value).

SortByDisplayValues

Gets or sets a value that determines whether to use mapped (display) or raw values when sorting the data. The default value is false.