I have a DataTable:
And a RadListView
The desired output is this
My PO and customer will *always* be consistent across a range of orders.
I want the common PO and customer to behave like 'rows' in the listview, while the grid still shows all the data relevant to the particular PO. What's the general way to achieve this?
PO Customer Order Product Qty
Alpha Apple 30456 Napkins 400
Alpha Apple 30457 Pizza 200
Alpha Apple 30458 Schlitz 400
Beta Google 20001 Pizza 400
Beta Google 20002 Schlitz 200
And a RadListView
<
telerik:RadListView
>
<
ItemTemplate
>
<
asp:Label
ID
=
"lbl_PO"
/>
<
asp:Label
ID
=
"lbl_Customer"
/>
<
telerik:RadGrid
>
<
telerik:GridBoundColumn
DataField
=
"Product"
/>
<
teleirk:GridBoundColumn
DataField
=
"Qty"
/>
</
telerik:RadGrid
>
</
ItemTemplate
>
</
telerik:RadListView
>
The desired output is this
PO: Alpha
Customer: Apple
______________________
| Order | Product | Qty |
______________________
| 30456 | Napkins | 400 |
______________________
| 30457 | Pizza | 200 |
______________________
| 30458 | Schlitz | 400 |
______________________
PO: Beta
Customer: Google
______________________
| Order | Product | Qty |
______________________
| 20001 | Pizza | 400 |
______________________
| 20002 | Schlitz | 200 |
______________________
My PO and customer will *always* be consistent across a range of orders.
I want the common PO and customer to behave like 'rows' in the listview, while the grid still shows all the data relevant to the particular PO. What's the general way to achieve this?