Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #104075
    G.P.
    Participant

    Hi all,

    the underlined Reset button that appears in option windows defined here in grid by this :
    <div>
    <div>          header:</div>
    <div>          {</div>
    <div>            visible: true,</div>
    <div>            buttons: [‘columns’]</div>
    <div>          },</div>
    <div></div>
    </div>
    <div>won’t be translate when use Messages options</div>
    <div>
    <div>
    <div>    let aGrid = document.querySelector(‘#’+aGridName);</div>
    <div>    aGrid.messages = theMessages; // js global var with en and fr language</div>
    <div>    aGrid.locale = ‘fr’;</div>
    </div>
    </div>

    #104078
    admin
    Keymaster

    Hi,

    The message for ‘Reset’ is called ‘reset’ in the ‘messages’ JSON object. Did you define it in your messages object?

    Best regards,
    Peter Stoev

    Smart UI Team
    https://www.htmlelements.com/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.