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. Image for the cookie policy date

Personalize literals in boolean field from grid filter

 

Hi

We are working with version 12.4450 and we have a grid with Excel filter. If we open a Boolean column filter, it shows the options to choose with the literal; "true" / "false".

It is possible, change this literal by personalize literals like; “Visible” / “Not visible”?

Best regards


1 Reply

AS Alan Sangeeth S Syncfusion Team June 11, 2015 11:10 AM UTC

Hi Juan,

Thanks for using Syncfusion products.

For your information, the support for Localizing Boolean values has been provided in latest version 13.1.0.30 and you can upgrade to the latest version using the following link.

http://www.syncfusion.com/forums/119275/essential-studio-2015-volume-1-service-pack-2-release-v13-1-0-30-available-for-download

Once you have upgraded you can set localized values for Boolean. Please refer the following code snippets.

@(Html.EJ().Grid<object>("Localization")
.Locale(
"en-US")



)

<script>

    ej.ExcelFilter.locale["en-US"].True = "Visible";

    ej.ExcelFilter.locale["en-US"].False = "Not Visible";

</script>




Please let us know if you need any further assistance.

Regards,
Alan Sangeeth S


Loader.
Live Chat Icon For mobile
Up arrow icon