This is a migrated thread and some comments may be shown as answers.

Template filter for boolean field not working

2 Answers 146 Views
Grid
This is a migrated thread and some comments may be shown as answers.
ANDRE
Top achievements
Rank 1
ANDRE asked on 19 Aug 2018, 09:07 AM

Hi,

I use the following code for all my boolean fields. Example :

{ field: "L_NEW",  title: "Nouveau", template: kendo.template('#= L_NEW ? "Oui" : "Non" #'),
                 filterable: { messages: { isTrue: "Oui", isFalse: "Non" } }}
    

 

For one of them, it's definitly not working. I get standard behavior, see attachment.

I have other screens working perfectly with the same code. I checked all I can checked.

The only idea is a problem with the field name ? This is the only difference I can see with other cases.

Thanks.

 

2 Answers, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 21 Aug 2018, 03:47 PM
Hi,

Could you please send us a sample dojo that replicates the problem you are having? In the meantime could you please make sure that the field is defined as boolean in the schema.model configuration?


Regards,
Boyan Dimitrov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
ANDRE
Top achievements
Rank 1
answered on 21 Aug 2018, 03:55 PM

Hi Boyan,

The field is a boolean. I finally got it working only by restarting the webserver, the Progress database and the Progress PASOE...

It's annoying because all others scripts ran well immediatly after being updated.

Note that in development environment, all scripts are loaded using a parameter timestamp so the no cache is used. 

So it finally works but I have no explication.Very strange.

Regards,

André.

Tags
Grid
Asked by
ANDRE
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
ANDRE
Top achievements
Rank 1
Share this question
or