jQuery UI Widgets Forums Grid Grid: localization of advanced filters

This topic contains 2 replies, has 2 voices, and was last updated by  adevicq 7 years, 12 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Grid: localization of advanced filters #87381

    adevicq
    Participant

    Hi,
    I’m looking for a way to translate the “advanced filtering option” labels in jqxGrid. There are three labels I need to localize:

    • an “advanced” button to display the advanced filtering options
    • an “apply” button once the filter options are open
    • a “cancel” button once the filter options are open

    I can’t find anything in the documentation.
    By the way, is there a comprehensive list of tall the strings that can be localized?

    Thanks for your answer.

    Grid: localization of advanced filters #87406

    Christopher
    Participant

    Hi adevicq,

    Advanced Filtering isn’t avaliable for the jqxGrid but for the jqxTreeGrid. Nevertheless, the way to translate those labels applies to both. In order to do it you need to set a globalization function to the localization property of the jqxGrid/jqxTreeGrid. The globalization properties that you want to change are:

    
    ...
    filterApplyString: "Apply",
    	filterCancelString: "Cancel",
    	filterClearString: "Clear Filter",
    	filterString: "advanced",
    ...
    

    Those properties are jqxTreeGrid specific. You can find all of them in the jqxTreeGrid documentation.

    Here’s how apply localization:
    http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxtreegrid/javascript-tree-grid-localization.htm?light

    Best Regards,
    Christopher

    jQWidgets Team
    http://www.jqwidgets.com

    Grid: localization of advanced filters #87477

    adevicq
    Participant

    Thanks. You are right: I meant jqxTreeGrid and not jqxGrid.
    Best regards,
    Alain

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.