jQWidgets Forums

jQuery UI Widgets Forums Grid loading message on grid

Tagged: , ,

This topic contains 1 reply, has 2 voices, and was last updated by  Dimitar 12 years, 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • loading message on grid #15370

    morfeusz
    Participant

    Helo,
    how to change default loading message with graphic on grid?
    I trying make div like this:

    <div id="grid"></div>
    <div class="jqx-grid-load">Loading...<img src="/loading.gif" /></div>

    and set in grid this:

    $('#grid').jqxGrid({ showdefaultloadelement: false}); 

    But it’s not working.

    This also does not work:

    <div id="grid"><div class="jqx-grid-load">LOADING...<img src="/loading.gif"/></div> </div> 
    loading message on grid #15414

    Dimitar
    Participant

    Hello morfeusz,

    Aside from setting showdefaultloadelement to false, to change the loading image of the grid, you should modify the class jqx-grid-load, e.g.:

        <style type="text/css">
    .jqx-grid-load
    {
    background-image: url(../../jqwidgets/resources/loader_2.gif);
    }
    </style>

    The loading text can be localized.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

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

You must be logged in to reply to this topic.