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 was trying to change individual cells styles like backcolor, or text color. using
grd.Model.GetCellInfo(Row, Col, StyleInfo)
setting the properties
and then :
grd.Model.SetCellInfo(Row, Col, StyleInfo, StyleModifyType.Changes)
But no changes take effect.
Why and is there is a better way to do that? Thankx
ADAdministrator Syncfusion Team February 13, 2005 03:47 PM UTC
Is grd a GridControl? If not, the above code will not work. You cannot set individual cell style properties (other than CellValue and Text) in a GridDataBoundGrid.
If it is a GridControl, try using StyleModifyType.Override.