Product Bundles
DevCraft
All Telerik .NET and Kendo UI JavaScript components and AI Tools in one package.
Kendo UI
Bundle of AI Tools plus four JavaScript UI libraries built natively for jQuery, Angular, React and Vue.
Build JavaScript UI
Javascript
Telerik
Build modern .NET business apps
.Net Web
Cross-Platform
Desktop
Reporting and Documents
AI for Developers & IT
Ensure AI program success
MCP Servers
AI for UI
AI Engineering
Additional Tools
Enhance the developer and designer experience
Testing & Mocking
Debugging
UI Tools
CMS
Free Tools
Support and Learning
Productivity and Design Tools
public
partial
class
Form1 : Form
{
Form1()
InitializeComponent();
List<DataObject> data =
new
List<DataObject>();
Random rand =
Random();
for
(
int
i = 0; i < 500; i++)
data.Add(
DataObject() {Date = DateTime.Today.AddDays(i), Value = rand.NextDouble() * 1000.0d});
}
this
.radPivotGrid1.AggregateDescriptions.Add(
PropertyAggregateDescription() { PropertyName =
"Value"
});
.radPivotGrid1.RowGroupDescriptions.Add(
WeekGroupDescription() { PropertyName =
"Date"
.radPivotGrid1.DataSource = data;
DataObject
DateTime Date {
get
;
set
; }
double
Value {
WeekGroupDescription : PropertyGroupDescriptionBase
WeekGroupName : IComparable
weekNumber;
WeekGroupName(
weekNumber)
.weekNumber = weekNumber;
override
string
ToString()
return
"Week "
+ weekNumber;
CompareTo(
object
obj)
if
(obj
is
WeekGroupName)
weekNumber.CompareTo(((WeekGroupName)obj).weekNumber);
1;
bool
Equals(
weekNumber.Equals(((WeekGroupName)obj).weekNumber);
false
GetHashCode()
weekNumber.GetHashCode();
protected
GroupNameFromItem(
item,
level)
DataObject data = item
as
DataObject;
(data !=
null
)
WeekGroupName(System.Globalization.DateTimeFormatInfo.CurrentInfo.Calendar.GetWeekOfYear(data.Date,
System.Globalization.CalendarWeekRule.FirstDay,
System.Globalization.DateTimeFormatInfo.CurrentInfo.FirstDayOfWeek));
Cloneable CreateInstanceCore()
WeekGroupDescription();