Template filter for boolean field not working

3 posts, 0 answers
  1. ANDRE
    ANDRE avatar
    14 posts
    Member since:
    Dec 2017

    Posted 19 Aug 2018 Link to this post


    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.



  2. Boyan Dimitrov
    Boyan Dimitrov avatar
    2062 posts

    Posted 21 Aug 2018 Link to this post


    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?

    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.
  3. ANDRE
    ANDRE avatar
    14 posts
    Member since:
    Dec 2017

    Posted 21 Aug 2018 in reply to Boyan Dimitrov Link to this post

    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.



Back to Top