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.
MS grid has a property called alternatingbackcolor, which basically let me easily define the alternating backcolor for my grid. However, I cannot find it in Essential grid. SO what is the easiest way(or the most proper way) in essential grid to define an alternating backcolor?
Thanks
Chris
ADAdministrator Syncfusion Team February 3, 2004 01:07 PM UTC
In the 2.0 GridGroupingControl which is in beta now, you can set a property to handle this.
But in GridDataBoundGrid, you have to handle an event. Her eis a KB article with a code snippet.
http://www.syncfusion.com/Support/article.aspx?id=10418
ADAdministrator Syncfusion Team February 3, 2004 01:52 PM UTC
Thanks.
It would be nice to have it in the later version. Essential Grid should be a package with improvement on MS grid, but without reducing its original functionality.
>In the 2.0 GridGroupingControl which is in beta now, you can set a property to handle this.
>
>But in GridDataBoundGrid, you have to handle an event. Her eis a KB article with a code snippet.
>http://www.syncfusion.com/Support/article.aspx?id=10418
ADAdministrator Syncfusion Team February 3, 2004 02:46 PM UTC
There are advantages for having the PrepareViewStyleInfo event.
You cannot only color every other row, but the same technique can color every third row, or every row where column 5 is greater than 50, or ???. It gives you a great deal of flexibilty for a single event.
The same technique works to color specific cells based on some criteria.
If you try to do any of these things with the Windows Forms DataGrid, you would have to do much more that catch an event.