or
int
reservedCells = 5;
if
(item.Values[i].OriginalValueChanged)
{
e.Row.Cells[i + reservedCells].Background =
new
SolidColorBrush(Color.FromRgb(255, 0, 0));
}
<
Window
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
x:Class
=
"WpfApplication1.MainWindow"
Title
=
"MainWindow"
Height
=
"350"
Width
=
"525"
>
<
Grid
HorizontalAlignment
=
"Stretch"
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"Auto"
/>
<
RowDefinition
/>
</
Grid.RowDefinitions
>
<
telerik:RadButton
Click
=
"Button_Click"
Grid.Row
=
"0"
HorizontalAlignment
=
"Center"
Content
=
"Load Appointments"
FontWeight
=
"Bold"
Margin
=
"12"
Padding
=
"18 4"
/>
<
telerik:RadBusyIndicator
x:Name
=
"busyIndicator"
Grid.Row
=
"1"
BusyContent
=
"Loading data...."
>
<
Button
Height
=
"34"
Width
=
"90"
Content
=
"xxx"
/>
</
telerik:RadBusyIndicator
>
</
Grid
>
</
Window
>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace WpfApplication1
{
/// <
summary
>
/// Interaction logic for MainWindow.xaml
/// </
summary
>
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
}
private void Button_Click(object sender, RoutedEventArgs e)
{
busyIndicator.IsBusy = true;
System.Threading.Thread.Sleep(100000);
busyIndicator.IsBusy = false;
}
}
}
Hi
I need to add columns in the header column as shown in the attached design.
NOVEMBER |
DECEMBER |
||||||
27 |
28 |
29 |
30 |
1 |
2 |
3 |
4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The columns should be added to the header column. If anyone knows how to do it, please reply.
Thanks