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.
Unfortunately, activation email could not send to your email. Please try again.

Personalize literals in boolean field from grid filter

Thread ID:

Created:

Updated:

Platform:

Replies:

119356 Jun 10,2015 06:23 AM Jun 11,2015 07:10 AM ASP.NET MVC 1
loading
Tags: Grid
Juan Peiró Llobet
Asked On June 10, 2015 06:23 AM

 

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


Alan Sangeeth S [Syncfusion]
Replied On June 11, 2015 07:10 AM

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


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.

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.

;