@model
IEnumerable<
Orders.Order
>
@
{
var cities = Orders.GetCities().ToValues();
ClientSettingsModel demoSettingsModel = ViewBag.DemoSettingsModel;
}
<
c1-multi-row
id
=
"@demoSettingsModel.ControlId"
is-read-only
=
"true"
class
=
"multirow"
frozen-columns
=
"1"
frozen-rows
=
"2"
>
<
c1-items-source
read-action-url
=
"@Url.Action("
Freezing_Bind
")"
></
c1-items-source
>
<
c1-multi-row-cell-group
header
=
"Order"
colspan
=
"2"
>
<
c1-multi-row-cell
binding
=
"Id"
header
=
"ID"
width
=
"150"
class
=
"id"
/>
<
c1-multi-row-cell
binding
=
"Date"
header
=
"Ordered"
width
=
"200"
/>
<
c1-multi-row-cell
binding
=
"Amount"
header
=
"Amount"
format
=
"c"
class
=
"amount"
/>
<
c1-multi-row-cell
binding
=
"ShippedDate"
header
=
"Shipped"
/>
</
c1-multi-row-cell-group
>
<
c1-multi-row-cell-group
header
=
"Customer"
colspan
=
"3"
>
<
c1-multi-row-cell
binding
=
"Customer.Name"
name
=
"CustomerName"
header
=
"Customer"
width
=
"250"
/>
<
c1-multi-row-cell
binding
=
"Customer.Email"
name
=
"CustomerEmail"
header
=
"Customer Email"
class
=
"email"
colspan
=
"2"
/>
<
c1-multi-row-cell
binding
=
"Customer.Address"
name
=
"CustomerAddress"
header
=
"Address"
/>
<
c1-multi-row-cell
binding
=
"Customer.City"
name
=
"CustomerCity"
header
=
"City"
datamap-editor
=
"@C1.Web.Mvc.Grid.DataMapEditor.DropDownList"
width
=
"300"
>
<
c1-data-map
display-member-path
=
"Value"
selected-value-path
=
"Value"
>
<
c1-items-source
source-collection
=
"cities"
/>
</
c1-data-map
>
</
c1-multi-row-cell
>
<
c1-multi-row-cell
binding
=
"Customer.State"
name
=
"CustomerState"
header
=
"State"
/>
</
c1-multi-row-cell-group
>
<
c1-multi-row-cell-group
header
=
"Shipper"
colspan
=
"2"
>
<
c1-multi-row-cell
binding
=
"Shipper.Name"
name
=
"ShipperName"
header
=
"Shipper"
colspan
=
"2"
/>
<
c1-multi-row-cell
binding
=
"Shipper.Email"
name
=
"ShipperEmail"
header
=
"Shipper Email"
class
=
"email"
width
=
"300"
/>
<
c1-multi-row-cell
binding
=
"Shipper.Express"
name
=
"ShipperExpress"
header
=
"Express"
width
=
"100"
/>
</
c1-multi-row-cell-group
>
</
c1-multi-row
>
@section
Summary{
<
p
>
@Html
.Raw(MultiRowRes.Freezing_Text0)</
p
>
}
@section
Description{
<
p
>
@Html
.Raw(MultiRowRes.Freezing_Text1)</
p
>
}