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 using an engine override to not display the caption in groups that only have one member. Because of this anything that doesn''t have a certain type of data looks to exist in one big listing. The problem is that the alternate row color only works within a grouping. So if I have 3 rows all in seperate groups they appear as three plain rows but there will be no alternate row color because they are really 3 separate groups of 1.
Is it possible to get the row colors to alternate in this type of setup?
ADAdministrator Syncfusion Team November 10, 2005 09:03 PM UTC
You can try handling the TableControlPrepareViewStyleInfo event. There is e.Style.TableCellIdentity object is pointing to one of these one row groups, you could set the e.Inner.Style.BackColor depending upon whether e.Inner.RowCount is odd or even.