7 Answers, 1 is accepted
I am not sure what your question is. Would you please explain better what is the result you would like to achieve?
Regards,Didie
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
This is the function for example.
public static class AgregateFunction
{ public static String F_Entregados<TSource>(IEnumerable<TSource> source)
{
HERE, I WANT TO KNOW WHAT GROUP COLUMS "FIRE" THE FUNCTION
FOR EXAMPLE COMPANY -> STATE
AND OTHER QUESTION IS THAT, I HAVE IN source ALL DATA IN THE GROUP (COMPANY -> STATE)
CAN I ACCES HERE TO ALL THE DATA WITHOUT GROUP??
}
}
Unfortunately such an information about the Groups is not available with the AggregateFunction method when it is invoked. What do you mean by : "CAN I ACCES HERE TO ALL THE DATA WITHOUT GROUP??", do you mean all the Data bound to the GridView?
All the best,Didie
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
public static String F_Confirmados<TSource>(IEnumerable<TSource> source)
In source only come the data that is in the group, but not all of the dadagridview.
I want to acces to all.
You could access the data bound to the GridView through the RadGridView.ItemsSouce collection or from the bound collection directly.
Regards,Didie
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
I have 3 category
- A, B, C
i want that my agregate function say
Group A COUNT(A) = 23 COUNT(A) / COUNT(B) COUNT(A) / COUNT(C)
I would suggest you to check this help article on more information for the different options to define a custom aggregate.
All the best,Didie
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.