jQWidgets Forums

jQuery UI Widgets Forums Grid Internationalization and loader

This topic contains 4 replies, has 3 voices, and was last updated by  morgar 11 years, 11 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • Internationalization and loader #11821

    webdev
    Member

    Is it possible to use the grid with another display language?
    For example when the grid is requesting data from the server. it displays a ajax loading spinner with the text “Loading…”. Is it possible to use a ui language defined by the users browser. In my case I would need german.

    Or is it possible to change the appearance of the spinner to show up only the animated gif?

    Many thanks for any tip.

    Internationalization and loader #11822

    Peter Stoev
    Keymaster

    Hi webdev,

    See this help topic: jquery-grid-localization.htm.

    The Grid’s loading image is defined in the jqx.base.css file – jqx-grid-load CSS class.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Internationalization and loader #21477

    morgar
    Member

    It seems that the “Loading…” string is not included in the localization object. Also a minor issue, almost all the style of the loader (excepting the loader image) is set as inline css, so it’s not possible to adapt it to the current theme.

    Regards

    Internationalization and loader #21486

    Peter Stoev
    Keymaster

    Hi morgar,

    There is no such issue. The “Loading…” text is included in the localization. It is called: “loadtext”. In addition, if you do not like the default “Loading” element, you may not use it Just set the “showdefaultloadelement” property of the Grid to false and the built-in load element will not be displayed. Instead it will use only the CSS

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Internationalization and loader #21558

    morgar
    Member

    Hi Peter. Many thanks for your help. I will try to implement it in that way.

    Regards

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

You must be logged in to reply to this topic.