Search code examples
xamllistviewgridviewwindows-8windows-runtime

Create a table (DataGrid) in Windows 8 metro apps (C#/XAML)


I'm trying to create a table like this: enter image description here

How can I do something like that using ListView or GridView? I couldnt find the right way to add the headers of the table..


Solution

  • I implemented a DataGrid control (with sorting, details view and navigate event) in my free library:

    https://github.com/MyToolkit/MyToolkit/wiki/DataGrid

    WinRT (Windows 8.1):

    enter image description here

    Universal Windows App (Windows 10):