This question is locked. New answers and comments are not allowed.
HiTelerik!
I have a GridViewImageColumn column in my grid that is bound to a field containing an enum value (for the example, lets say the enum values are A1, B2 and C3). I need to be able present counts of each of the enum values as a summary in the column footer, and i need to use images.
I have read this post, this post and checked out the Totals example in the RadGridView demo, so i believe i have a reasonably good idea how i will achieve the images - use some bound UI elements inside a AggregateResultsList repeater, translating the bound value using a ValueConverter. Is this the correct approach?
What i do not understand though is how to implement the custom aggregate function to count the number of each of the enum values (i.e. there are 7 A1 values, 10 of B2, etc.). Are you able to give me a pointer in the right direction to create this custom aggregate? Will i need a separate version of the aggregate function to count each set of enum values, or will i be able to pass in a value to instruct the aggregate which enum value to count?
Thanks for any assistance!
I have a GridViewImageColumn column in my grid that is bound to a field containing an enum value (for the example, lets say the enum values are A1, B2 and C3). I need to be able present counts of each of the enum values as a summary in the column footer, and i need to use images.
I have read this post, this post and checked out the Totals example in the RadGridView demo, so i believe i have a reasonably good idea how i will achieve the images - use some bound UI elements inside a AggregateResultsList repeater, translating the bound value using a ValueConverter. Is this the correct approach?
What i do not understand though is how to implement the custom aggregate function to count the number of each of the enum values (i.e. there are 7 A1 values, 10 of B2, etc.). Are you able to give me a pointer in the right direction to create this custom aggregate? Will i need a separate version of the aggregate function to count each set of enum values, or will i be able to pass in a value to instruct the aggregate which enum value to count?
Thanks for any assistance!