You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: knowledge-base/grouping-data-using-radspreadprocessing.md
+5-9Lines changed: 5 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,23 +24,22 @@ img[alt$="><"] {
24
24
25
25
## Description
26
26
27
-
This article shows how to generate a worksheet with **grouped** data having a **flat** collection of records as an input.
27
+
This article shows how to generate a worksheet with **grouped** data from a **flat** collection of records as an input.
28
28
29
29
>caption Flat vs. Grouped Data
30
30
31
31

32
32
33
33
## Solution
34
34
35
-
Note that if you want to perform grouping, this data operation should be performed separately and then populate the Worksheet with the grouped rows.
35
+
Note that the groupingshould be performed separately beforehand, and only then can the Worksheet be populated with the grouped data.
36
36
37
-
Once you have the grouped data, then, the SpreadProcessing functionality (in a similar way like MS Excel) allows you to assign the outline level to all rows that belong to the same group. To make it clearer, let's have the following example: a flat list of products stored in CSV data for simplicity.
38
-
39
-
To group data in a worksheet, follow these steps:
37
+
Once you have the grouped data, the SpreadProcessing functionality (in a similar way to MS Excel) allows you to assign the outline level to all rows that belong to the same group.
38
+
To make it clear and simple, let's take the following example - a flat list of products stored in CSV data:
40
39
41
40
### Preparing Grouped Data
42
41
43
-
1.Perform grouping on your flat data (e.g. Northwind.Products) before populating the worksheet.
42
+
1.Group your flat data (e.g. Northwind.Products) before populating the worksheet.
44
43
2. Use LINQ or other methods to group rows based on a specific column (e.g. CategoryID).
45
44
46
45
Use the following code snippet to group rows in a worksheet:
@@ -68,8 +67,6 @@ Use the following code snippet to group rows in a worksheet:
0 commit comments