diff --git a/App.config b/App.config
new file mode 100644
index 0000000..8e15646
--- /dev/null
+++ b/App.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/App.xaml b/App.xaml
new file mode 100644
index 0000000..31aa4a9
--- /dev/null
+++ b/App.xaml
@@ -0,0 +1,8 @@
+
+
+
+
+
diff --git a/App.xaml.cs b/App.xaml.cs
new file mode 100644
index 0000000..60eee80
--- /dev/null
+++ b/App.xaml.cs
@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.Configuration;
+using System.Data;
+using System.Linq;
+using System.Threading.Tasks;
+using System.Windows;
+
+namespace DataTableDemo
+{
+ ///
+ /// Interaction logic for App.xaml
+ ///
+ public partial class App : Application
+ {
+ }
+}
diff --git a/DataTableDemo_2010.csproj b/DataTableDemo_2010.csproj
new file mode 100644
index 0000000..58f5fb4
--- /dev/null
+++ b/DataTableDemo_2010.csproj
@@ -0,0 +1,119 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {D33BB780-C18E-420A-9F38-40689BB6098E}
+ WinExe
+ Properties
+ DataTableDemo
+ DataTableDemo
+ v4.0
+ 512
+ {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
+ 4
+
+
+ AnyCPU
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ AnyCPU
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+
+ False
+
+
+ False
+
+
+ False
+
+
+
+
+
+
+
+
+
+
+
+
+ 4.0
+
+
+
+
+
+
+
+ MSBuild:Compile
+ Designer
+
+
+
+
+ MSBuild:Compile
+ Designer
+
+
+ App.xaml
+ Code
+
+
+ MainWindow.xaml
+ Code
+
+
+
+
+ Code
+
+
+ True
+ True
+ Resources.resx
+
+
+ True
+ Settings.settings
+ True
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+
+
+ SettingsSingleFileGenerator
+ Settings.Designer.cs
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/DataTableDemo_2010.sln b/DataTableDemo_2010.sln
new file mode 100644
index 0000000..c0f5ddc
--- /dev/null
+++ b/DataTableDemo_2010.sln
@@ -0,0 +1,20 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 2010
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DataTableDemo_2010", "DataTableDemo_2010.csproj", "{D33BB780-C18E-420A-9F38-40689BB6098E}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {D33BB780-C18E-420A-9F38-40689BB6098E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {D33BB780-C18E-420A-9F38-40689BB6098E}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {D33BB780-C18E-420A-9F38-40689BB6098E}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {D33BB780-C18E-420A-9F38-40689BB6098E}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/DataTableDemo_2012.csproj b/DataTableDemo_2012.csproj
new file mode 100644
index 0000000..6ebf246
--- /dev/null
+++ b/DataTableDemo_2012.csproj
@@ -0,0 +1,119 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {D33BB780-C18E-420A-9F38-40689BB6098E}
+ WinExe
+ Properties
+ DataTableDemo
+ DataTableDemo
+ v4.5
+ 512
+ {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
+ 4
+
+
+ AnyCPU
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ AnyCPU
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+
+ False
+
+
+ False
+
+
+ False
+
+
+
+
+
+
+
+
+
+
+
+
+ 4.0
+
+
+
+
+
+
+
+ MSBuild:Compile
+ Designer
+
+
+
+
+ MSBuild:Compile
+ Designer
+
+
+ App.xaml
+ Code
+
+
+ MainWindow.xaml
+ Code
+
+
+
+
+ Code
+
+
+ True
+ True
+ Resources.resx
+
+
+ True
+ Settings.settings
+ True
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+
+
+ SettingsSingleFileGenerator
+ Settings.Designer.cs
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/DataTableDemo_2012.sln b/DataTableDemo_2012.sln
new file mode 100644
index 0000000..ac0be1a
--- /dev/null
+++ b/DataTableDemo_2012.sln
@@ -0,0 +1,20 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 2012
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DataTableDemo_2012", "DataTableDemo_2012.csproj", "{D33BB780-C18E-420A-9F38-40689BB6098E}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {D33BB780-C18E-420A-9F38-40689BB6098E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {D33BB780-C18E-420A-9F38-40689BB6098E}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {D33BB780-C18E-420A-9F38-40689BB6098E}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {D33BB780-C18E-420A-9F38-40689BB6098E}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/DataTableDemo_2013.csproj b/DataTableDemo_2013.csproj
new file mode 100644
index 0000000..82b9e09
--- /dev/null
+++ b/DataTableDemo_2013.csproj
@@ -0,0 +1,119 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {D33BB780-C18E-420A-9F38-40689BB6098E}
+ WinExe
+ Properties
+ DataTableDemo
+ DataTableDemo
+ v4.5.1
+ 512
+ {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
+ 4
+
+
+ AnyCPU
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ AnyCPU
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+
+ False
+
+
+ False
+
+
+ False
+
+
+
+
+
+
+
+
+
+
+
+
+ 4.0
+
+
+
+
+
+
+
+ MSBuild:Compile
+ Designer
+
+
+
+
+ MSBuild:Compile
+ Designer
+
+
+ App.xaml
+ Code
+
+
+ MainWindow.xaml
+ Code
+
+
+
+
+ Code
+
+
+ True
+ True
+ Resources.resx
+
+
+ True
+ Settings.settings
+ True
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+
+
+ SettingsSingleFileGenerator
+ Settings.Designer.cs
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/DataTableDemo_2013.sln b/DataTableDemo_2013.sln
new file mode 100644
index 0000000..3519a25
--- /dev/null
+++ b/DataTableDemo_2013.sln
@@ -0,0 +1,22 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 2013
+VisualStudioVersion = 12.0.30723.0
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DataTableDemo_2013", "DataTableDemo_2013.csproj", "{D33BB780-C18E-420A-9F38-40689BB6098E}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {D33BB780-C18E-420A-9F38-40689BB6098E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {D33BB780-C18E-420A-9F38-40689BB6098E}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {D33BB780-C18E-420A-9F38-40689BB6098E}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {D33BB780-C18E-420A-9F38-40689BB6098E}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/DataTableDemo_2015.csproj b/DataTableDemo_2015.csproj
new file mode 100644
index 0000000..99159b6
--- /dev/null
+++ b/DataTableDemo_2015.csproj
@@ -0,0 +1,119 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {D33BB780-C18E-420A-9F38-40689BB6098E}
+ WinExe
+ Properties
+ DataTableDemo
+ DataTableDemo
+ v4.6
+ 512
+ {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
+ 4
+
+
+ AnyCPU
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ AnyCPU
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+
+ False
+
+
+ False
+
+
+ False
+
+
+
+
+
+
+
+
+
+
+
+
+ 4.0
+
+
+
+
+
+
+
+ MSBuild:Compile
+ Designer
+
+
+
+
+ MSBuild:Compile
+ Designer
+
+
+ App.xaml
+ Code
+
+
+ MainWindow.xaml
+ Code
+
+
+
+
+ Code
+
+
+ True
+ True
+ Resources.resx
+
+
+ True
+ Settings.settings
+ True
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+
+
+ SettingsSingleFileGenerator
+ Settings.Designer.cs
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/DataTableDemo_2015.sln b/DataTableDemo_2015.sln
new file mode 100644
index 0000000..9a4da3e
--- /dev/null
+++ b/DataTableDemo_2015.sln
@@ -0,0 +1,22 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 14
+VisualStudioVersion = 14.0.23103.0
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DataTableDemo_2015", "DataTableDemo_2015.csproj", "{D33BB780-C18E-420A-9F38-40689BB6098E}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {D33BB780-C18E-420A-9F38-40689BB6098E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {D33BB780-C18E-420A-9F38-40689BB6098E}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {D33BB780-C18E-420A-9F38-40689BB6098E}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {D33BB780-C18E-420A-9F38-40689BB6098E}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/DataTableDemo_2017.csproj b/DataTableDemo_2017.csproj
new file mode 100644
index 0000000..6fa24c9
--- /dev/null
+++ b/DataTableDemo_2017.csproj
@@ -0,0 +1,119 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {D33BB780-C18E-420A-9F38-40689BB6098E}
+ WinExe
+ Properties
+ DataTableDemo
+ DataTableDemo
+ v4.6
+ 512
+ {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
+ 4
+
+
+ AnyCPU
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ AnyCPU
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+
+ False
+
+
+ False
+
+
+ False
+
+
+
+
+
+
+
+
+
+
+
+
+ 4.0
+
+
+
+
+
+
+
+ MSBuild:Compile
+ Designer
+
+
+
+
+ MSBuild:Compile
+ Designer
+
+
+ App.xaml
+ Code
+
+
+ MainWindow.xaml
+ Code
+
+
+
+
+ Code
+
+
+ True
+ True
+ Resources.resx
+
+
+ True
+ Settings.settings
+ True
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+
+
+ SettingsSingleFileGenerator
+ Settings.Designer.cs
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/DataTableDemo_2017.sln b/DataTableDemo_2017.sln
new file mode 100644
index 0000000..b3f174a
--- /dev/null
+++ b/DataTableDemo_2017.sln
@@ -0,0 +1,22 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 15
+VisualStudioVersion = 15.0.27130.2027
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DataTableDemo_2017", "DataTableDemo_2017.csproj", "{D33BB780-C18E-420A-9F38-40689BB6098E}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {D33BB780-C18E-420A-9F38-40689BB6098E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {D33BB780-C18E-420A-9F38-40689BB6098E}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {D33BB780-C18E-420A-9F38-40689BB6098E}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {D33BB780-C18E-420A-9F38-40689BB6098E}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/MainWindow.xaml b/MainWindow.xaml
new file mode 100644
index 0000000..ed29be2
--- /dev/null
+++ b/MainWindow.xaml
@@ -0,0 +1,35 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/MainWindow.xaml.cs b/MainWindow.xaml.cs
new file mode 100644
index 0000000..12bf060
--- /dev/null
+++ b/MainWindow.xaml.cs
@@ -0,0 +1,35 @@
+using Syncfusion.UI.Xaml.ScrollAxis;
+using System;
+using System.Collections.Generic;
+using System.Data;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+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;
+using Syncfusion.UI.Xaml.Grid.Helpers;
+using System.Globalization;
+using Syncfusion.UI.Xaml.Utility;
+using Syncfusion.UI.Xaml.Grid;
+using System.ComponentModel;
+
+namespace DataTableDemo
+{
+ ///
+ /// Interaction logic for MainWindow.xaml
+ ///
+ public partial class MainWindow : Window
+ {
+ public MainWindow()
+ {
+ InitializeComponent();
+ }
+ }
+}
diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..a7daa6f
--- /dev/null
+++ b/Properties/AssemblyInfo.cs
@@ -0,0 +1,55 @@
+using System.Reflection;
+using System.Resources;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Windows;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("DataTableDemo")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("DataTableDemo")]
+[assembly: AssemblyCopyright("Copyright © 2018")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+//In order to begin building localizable applications, set
+//CultureYouAreCodingWith in your .csproj file
+//inside a . For example, if you are using US english
+//in your source files, set the to en-US. Then uncomment
+//the NeutralResourceLanguage attribute below. Update the "en-US" in
+//the line below to match the UICulture setting in the project file.
+
+//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
+
+
+[assembly: ThemeInfo(
+ ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
+ //(used if a resource is not found in the page,
+ // or application resource dictionaries)
+ ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
+ //(used if a resource is not found in the page,
+ // app, or any theme specific resource dictionaries)
+)]
+
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/Properties/Resources.Designer.cs b/Properties/Resources.Designer.cs
new file mode 100644
index 0000000..a18d812
--- /dev/null
+++ b/Properties/Resources.Designer.cs
@@ -0,0 +1,71 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace DataTableDemo.Properties
+{
+
+
+ ///
+ /// A strongly-typed resource class, for looking up localized strings, etc.
+ ///
+ // This class was auto-generated by the StronglyTypedResourceBuilder
+ // class via a tool like ResGen or Visual Studio.
+ // To add or remove a member, edit your .ResX file then rerun ResGen
+ // with the /str option, or rebuild your VS project.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ internal class Resources
+ {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal Resources()
+ {
+ }
+
+ ///
+ /// Returns the cached ResourceManager instance used by this class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager
+ {
+ get
+ {
+ if ((resourceMan == null))
+ {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("DataTableDemo.Properties.Resources", typeof(Resources).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture
+ {
+ get
+ {
+ return resourceCulture;
+ }
+ set
+ {
+ resourceCulture = value;
+ }
+ }
+ }
+}
diff --git a/Properties/Resources.resx b/Properties/Resources.resx
new file mode 100644
index 0000000..af7dbeb
--- /dev/null
+++ b/Properties/Resources.resx
@@ -0,0 +1,117 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/Properties/Settings.Designer.cs b/Properties/Settings.Designer.cs
new file mode 100644
index 0000000..bd62587
--- /dev/null
+++ b/Properties/Settings.Designer.cs
@@ -0,0 +1,30 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace DataTableDemo.Properties
+{
+
+
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
+ internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
+ {
+
+ private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
+
+ public static Settings Default
+ {
+ get
+ {
+ return defaultInstance;
+ }
+ }
+ }
+}
diff --git a/Properties/Settings.settings b/Properties/Settings.settings
new file mode 100644
index 0000000..033d7a5
--- /dev/null
+++ b/Properties/Settings.settings
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/SfDataGridBehavior.cs b/SfDataGridBehavior.cs
new file mode 100644
index 0000000..24cd989
--- /dev/null
+++ b/SfDataGridBehavior.cs
@@ -0,0 +1,38 @@
+using Syncfusion.UI.Xaml.Grid;
+using System;
+using System.Data;
+using System.Linq;
+using System.Windows.Interactivity;
+using System.Windows.Media;
+
+namespace DataTableDemo
+{
+ public class SfDataGridBehavior : Behavior
+ {
+ protected override void OnAttached()
+ {
+ base.OnAttached();
+ (AssociatedObject.ItemsSource as DataTable).RowChanged += SfDataGridBehavior_RowChanged;
+ }
+
+ private void SfDataGridBehavior_RowChanged(object sender, DataRowChangeEventArgs e)
+ {
+ var dataTable = (DataTable)AssociatedObject.ItemsSource;
+ var record = AssociatedObject.View.Records.FirstOrDefault(row => (row.Data as DataRowView).Row == e.Row);
+ var rowIndex = AssociatedObject.ResolveToRowIndex(record);
+ Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.ApplicationIdle,
+ new Action(() =>
+ {
+ if (e.Row.RowState == DataRowState.Modified)
+ {
+ var currentRow = AssociatedObject.RowGenerator.Items.FirstOrDefault(r => r.RowIndex == rowIndex);
+ if (currentRow != null)
+ {
+ var element = currentRow.Element as VirtualizingCellsControl;
+ element.Background = new SolidColorBrush(Colors.LightYellow);
+ }
+ }
+ }));
+ }
+ }
+}
diff --git a/ViewModel.cs b/ViewModel.cs
new file mode 100644
index 0000000..2367db6
--- /dev/null
+++ b/ViewModel.cs
@@ -0,0 +1,63 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace DataTableDemo
+{
+ public class ViewModel : INotifyPropertyChanged
+ {
+ private DataTable sourceTable;
+
+ public DataTable SourceTable
+ {
+ get { return sourceTable; }
+ set
+ {
+ sourceTable = value;
+ RaisePropertyChanged("SourceTable");
+ }
+ }
+ public ViewModel()
+ {
+ sourceTable = new DataTable();
+
+ System.Data.DataColumn column1 = new System.Data.DataColumn("ProductId", typeof(int));
+ System.Data.DataColumn column2 = new System.Data.DataColumn("ProductName", typeof(string));
+ System.Data.DataColumn column3 = new System.Data.DataColumn("NoOfOrders", typeof(double));
+ System.Data.DataColumn column4 = new System.Data.DataColumn("OrderDate", typeof(DateTime));
+ System.Data.DataColumn column5 = new System.Data.DataColumn("CountryName", typeof(string));
+ System.Data.DataColumn column6 = new System.Data.DataColumn("ShipCity", typeof(string));
+ System.Data.DataColumn column7 = new System.Data.DataColumn("CheckBox", typeof(bool));
+ sourceTable.Columns.Add(column1);
+ sourceTable.Columns.Add(column2);
+ sourceTable.Columns.Add(column3);
+ sourceTable.Columns.Add(column4);
+ sourceTable.Columns.Add(column5);
+ sourceTable.Columns.Add(column6);
+ sourceTable.Columns.Add(column7);
+ sourceTable.Rows.Add(1001, "Alice", 10, new DateTime(2015, 5, 2), "Argentina", "Boston Crab Meat");
+ sourceTable.Rows.Add(1002, "NuNuCa Nuß-Nougat-Creme", 10, new DateTime(2015, 5, 2), "Argentina", "Buenos Aires");
+ sourceTable.Rows.Add(1003, "Boston Crab Meat", 10, new DateTime(2015, 5, 2), "Argentina", "Buenos Aires");
+ sourceTable.Rows.Add(1004, "Boston Crab Meat", 10, new DateTime(2015, 5, 2), "Argentina", "Buenos Aires");
+ sourceTable.Rows.Add(1005, "Raclette Courdavault", 10, new DateTime(2015, 5, 2), "Argentina", "Buenos Aires");
+ sourceTable.Rows.Add(1006, "Wimmers gute Semmelknödel", 10, new DateTime(2015, 5, 2), "Argentina", "Buenos Aires");
+ sourceTable.Rows.Add(1008, "Gorgonzola Telino", 10, new DateTime(2015, 5, 2), "Argentina", "Buenos Aires");
+ sourceTable.Rows.Add(1009, "Fløtemysost", 10, new DateTime(2015, 5, 2), "Argentina", "Buenos Aires");
+ sourceTable.Rows.Add(1010, "Chartreuse verte", 10, new DateTime(2015, 5, 2), "Argentina", "Buenos Aires");
+ sourceTable.AcceptChanges();
+ sourceTable.Rows[0].SetModified();
+ }
+
+ public event PropertyChangedEventHandler PropertyChanged;
+
+ public void RaisePropertyChanged(string PropertyName)
+ {
+ if (PropertyChanged != null)
+ PropertyChanged(this, new PropertyChangedEventArgs(PropertyName));
+ }
+ }
+}