The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I am binding a GridDataControl with a Collection of objects(Custom entity, say Employee); I have added various columns and Mapped them with properties of Employee object like this -
1. Whenever status of an employee changes change notification is fired, but the value never gets updated in grids column( converter doesn't gets caled).
2. I want to change the ForeColor of Employee name based on its Status i.e. Show Name in Red if status is Resigned else Green etc. But I am not sure how can I bind more then one property of my Employee entity in a single column!
I am more intrested in a XAML solution instead of code behind. A simple sample will be really helpful.
MSMohamed Suhaib Fahad A. Syncfusion Team March 23, 2010 10:23 AM UTC
Hi Abhishek,
Thanks for the details.
1) If you have INotifyPropertyChanged interface implemented, then you need to set the "NotifyPropertyChanges=true" property in the grid. This would refresh the grid. 2) You can use ConditionalFormatting feature that the grid supports. Simply define the conditions and apply the GridStyleInfo to that particular cell,
Likewise, You can also have this used to set CellType with images etc., We also have a sample in our install that explains the Conditional Formatting.