Formatting cell values in flexgrid treeview

Posted by: sameer.boddun on 6 December 2017, 9:30 pm EST

    • Post Options:
    • Link

    Posted 6 December 2017, 9:30 pm EST

    Value in the grid’s cell are not getting formatted. Please check the attached sample code showing this phenomenon.FlexGrid_treeView_ComboBox-edit.zip

  • Posted 7 December 2017, 1:30 am EST

    Hi Sameer,

    The last column Link is not getting formatted because of incorrect syntax provided for format property. Format property value should be wrap under (‘’).

    Please refer to the following code snippet for the same:

    <wj-flex-grid-column [header]="'Link'" [name]="'value'" [binding]="'value'" [width]="80"
      [wordWrap]="true"  dataType="Number" [format]="'c0'">
    

    In your sample, first value do not get formatted as currency since it’s data type is string for data item.

    ~Manish

Need extra support?

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

Learn More

Forum Channels