# Encoding anonymous type members for Column Headings?

**URL:** <https://forums.collective2.com/t/encoding-anonymous-type-members-for-column-headings/14005>\
**Category:** C2 Explorer\
**Created:** [April 22, 2020, 8:43pm UTC](https://forums.collective2.com/t/encoding-anonymous-type-members-for-column-headings/14005 "2020-04-22T20:43:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chris\_bayley](https://yyz2.discourse-cdn.com/flex028/user_avatar/forums.collective2.com/chris_bayley/32/12306_2.png) [@chris\_bayley](https://forums.collective2.com/u/chris_bayley)\
**Post date:** [April 22, 2020, 8:43pm UTC](https://forums.collective2.com/t/encoding-anonymous-type-members-for-column-headings/14005/1 "2020-04-22T20:43:21Z")

</div>

When I am generating data for a table (TABLE=) the names of the Anonymous type members become the Column Headers in the resulting displayed table. Capital letters represent new words and are prepended with a space in the table.  
How do I encode my data such that the resulting Column heading in the Table reads “DD as %” ??

This code:

```
TABLE = new[] {
  new { 
    name = "row 1",
    DdAsPcnt = 0,
  },
};   

```

produces “Dd As Pcnt” for example as a column heading, is there any way to get “DD as %” ??

---

<div class="post-metadata">

**Author:** ![BobSvan2](https://yyz2.discourse-cdn.com/flex028/user_avatar/forums.collective2.com/bobsvan2/32/21391_2.png) [@BobSvan2](https://forums.collective2.com/u/BobSvan2)\
**Post date:** [April 23, 2020, 10:54pm UTC](https://forums.collective2.com/t/encoding-anonymous-type-members-for-column-headings/14005/2 "2020-04-23T22:54:44Z")

</div>

Hi Chris!  
We made C2 Explorer as much simple as possible.  
So headers are automatically created from C# identifiers.  
There is no way there, how to define custom headers in the Table.
