Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    FilterBuilder Logical operator [and, or, not] need to show in french

    I need to show logical operators [and, or, not] in FilterBuilder in French language. I cannot find anyway to localize these.

    Please have a look in attachment for more insight.
    Attached Files

    #2
    You can add your own operators perhaps, by using DataSource.addSearchOperator(), and then give it the same functionality as the original operator?

    Comment


      #3
      Here is the code one can use
      Code:
      isc.DataSource.create({
                          ID: "operatorDS",
                          clientOnly: true,
                          fields: getAllFields(operatorArr)                    
                      });
                      
      operatorDS.setTypeOperators('text',["and","or"]);				
      Operators.addClassProperties({andTitle: "{{#txt_and#}}"});
      Operators.addClassProperties({orTitle: "{{#txt_or#}}"});
      isc.FilterBuilder.create({
              ID: "advancedFilter",                   
      	dataSource: "operatorDS",
              maxSubClauseDepth: 1,
              criteria: getCriteriaJson(),
              subClauseButtonPrompt: "{{#txt_add_subclause#}}",
              addButtonPrompt  : "{{#txt_add#}}"
      });

      Comment

      Working...
      X