Format uppercase Strings in Grid

Posted by: moritz.neugebauer on 11 December 2020, 5:00 am EST

  • Posted 11 December 2020, 5:00 am EST

    Dear Wijmo Team,

    I’m using Angular to render data in Wijmo Flexgrid. The data that I display in the grid is coming from a server. For every value there is a state like IN_PROGRESS, NEW, DONE etc.

    When displaying that data in the regular markup, I’m using Angular Pipes to transform the strings to e.g. “In progress” , “New”, “Done”.

    Is there a way to format those data in the grid as well? Maybe even not in the formatHandler because mine is already pretty busy.

    Best regards

    Moritz

  • Posted 16 December 2020, 2:48 am EST

    Hi Moritz,

    You could use DataMaps for this purpose, If you set a column’s dataMap property to an instance of a DataMap, the grid will use it to look up display values for each data item.

    You can refer to the sample here

    https://www.grapecity.com/wijmo/demos/Grid/Columns/DataMaps/angular

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels