We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Display boolean column as custom value

Thread ID:

Created:

Updated:

Platform:

Replies:

144482 May 8,2019 12:10 PM UTC May 13,2019 06:05 AM UTC Angular - EJ 2 3
loading
Tags: Grid
Neo
Asked On May 8, 2019 12:10 PM UTC

Hi All,
I have a grid with boolean column (Auto setting the column Type to boolean when data load). I want to display 'Y' or 'N' instead of 'true' or 'false' values. How we can achieve this easily?
Thank you.


Hariharan J V [Syncfusion]
Replied On May 9, 2019 12:15 PM UTC

Hi Neo,

Thanks for contacting us.

We suggest you to use `valueAccessor` property on coumn which is used to change display value. Please refer the below sample.

Sample: https://stackblitz.com/edit/angular-2dxztg?file=app.component.ts
 
Regards,
Hariharan

Neo
Replied On May 10, 2019 06:19 AM UTC

Hi Neo,

Thanks for contacting us.

We suggest you to use `valueAccessor` property on coumn which is used to change display value. Please refer the below sample.

Sample: https://stackblitz.com/edit/angular-2dxztg?file=app.component.ts
 
Regards,
Hariharan

Hi Hariharan,

It's working perfectly. Thank you very much for your valuable support from Syncfusion.

Hariharan J V [Syncfusion]
Replied On May 13, 2019 06:05 AM UTC

Hi Neo,

Thanks for your update.

We are happy to hear that your requirement has been achieved.

Regards,
Hariharan


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon