GitHub

DataGrid save settings

This example shows how to save/load DataGrid state using Settings property.

The state includes current page index, page size, groups and columns filter, sort, order, width and visibility.

Drag a column header here and drop it to group by that column
Employee
 
Title
 
Employee ID
 
Hire Date
 
City
 
Country
 
Nancy Davolio Sales Representative 1 05/01/2012 Seattle USA
Andrew Fuller Vice President, Sales 2 08/14/2012 Tacoma USA
Janet Leverling Sales Representative 3 04/01/2012 Kirkland USA
Margaret Peacock Sales Representative 4 05/03/2013 Redmond USA
Console log

Source Code licensed under MIT

An error has occurred. This application may no longer respond until reloaded. Reload 🗙