LIST with groupings.. is it possible?

0 Answers 65 Views
General Discussions
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Mark asked on 18 Aug 2022, 01:33 PM

Is there a way, in the report designer or code, to add a Grouping to a LIST control, so in the list, the data lists as/similar to the following

 

Module                    Field                     Old Value                          New Value

John Smith - 01/02/2022

User                         Font                      Courier New                     Times New Roman

User                         Color                     Green                                Yellow

Larry Jones - 01/01/2022

User                         Color                       Red                                   Green

 

TIA

Matthew
Top achievements
Rank 1
commented on 22 Aug 2022, 04:11 AM

You could achieve it with group with out LIST Item.

Mark
Top achievements
Rank 2
Iron
Iron
Veteran
commented on 22 Aug 2022, 10:17 AM

Yep, I am able to do a basic grouping, but I need the list. My report record is only the first level of my data's hierarchy. So the default report band (lets call the "Device Details" is my first level.  The second level is the history of attributes changed by users on that device.   Here is a sample object structure

Device Name
Device ID
Date In Service
Date Out of Service
List<UserAttributeHistory> 
    User Name
    Date Changed
    Module
    Attribute Name
    Old Value
    New Value

 

 

Anyway, I think I figured it out, but I don't like how Telerik does the whole groupings inside a LIST/TABLE, but I think I have it working for my needs.

Dimitar
Telerik team
commented on 23 Aug 2022, 09:20 AM

The list item is a simpler version of the Table/Crosstab report items. The List data can be grouped in the same way as you would with the table and crosstab items.

For example, you can right-click the item and you should see the option to add groups, or you can use the Group Explorer at the bottom, please see the attached screenshot example.

For more information, I suggest visiting the How to Add groups to Table item and Crosstab item article.

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Share this question
or