-
-
Notifications
You must be signed in to change notification settings - Fork 636
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Binding issues #334
Comments
This is just an example. In practice, you may need to create a new collection and build yourself. In this case, you have to create your own item sources in order to bind, more information they can be find in the From DataViewModel.cs (Remember to check Data.xaml.cs and Data.cs under Views/Page for more information about binding): DataGridItemCollection = new List<Customer>()
{
new()
{
Email = "john.doe@example.com",
FirstName = "John",
LastName = "Doe",
IsMember = true,
Status = OrderStatus.Processing
},
new()
{
Email = "chloe.clarkson@example.com",
FirstName = "Chloe",
LastName = "Clarkson",
IsMember = true,
Status = OrderStatus.Processing
},
new()
{
Email = "eric.brown@example.com",
FirstName = "Eric",
LastName = "Brown",
IsMember = false,
Status = OrderStatus.New
},
new()
{
Email = "john.doe@example.com",
FirstName = "John",
LastName = "Doe",
IsMember = true,
Status = OrderStatus.Processing
},
new()
{
Email = "chloe.clarkson@example.com",
FirstName = "Chloe",
LastName = "Clarkson",
IsMember = true,
Status = OrderStatus.Shipped
},
new()
{
Email = "eric.brown@example.com",
FirstName = "Eric",
LastName = "Brown",
IsMember = false,
Status = OrderStatus.Received
}
}; |
Forgot my first reply, I see what you are asking, it could be a simple fix by just change |
@voidswordQQJ |
Please see below info ⚓
The text was updated successfully, but these errors were encountered: