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''m trying to figure out a way to provide a strong typed collection as a datasource to a GGC, and set column captions to values other than property names. Is it possible to do that with attributes (e.g. [System.ComponentModel.DisplayName("abc")]) or anything else at compile time?
The situation with strong typed collection datasources is slightly more complicated in my case. In fact, I compile those collections at runtime, therefore there''s no "design time" involved with respect to the grid and strong typed collection together.
My question was if there''s anything that can provide the grid with some metadata for a compiled class (similarly to [Browsable(false)] on a property) that can instruct the grid to change column captions.
If that''s not possible (which is a pity, I might add), what''s the best way to traverse a hierarchical GGC and remap column captions (provided that I have the mapping stored somewhere, and I simply need to locate all tables and all columns). The hierarchy normally has two levels.
Off topic, what was the reasoning behind making GGC to support homogeneous hierarchies only? My hierarchy is heterogeneous, and I had a blast yesterday trying to figure out how to hide extra tables.