jQWidgets Forums

jQuery UI Widgets Forums Grid grid deafult text

This topic contains 5 replies, has 2 voices, and was last updated by  Peter Stoev 11 years, 6 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • grid deafult text #47275

    rani
    Participant

    hello,

    I need to change the grid display text align.
    by default it is center.

    how can i change.
    i can able to change the default text.
    i am unable to change the align.
    var getLocalization = function () {
    var localizationobj = {};
    localizationobj.emptydatastring = “Click on ADD FILES to select files for ingest”;

    return localizationobj;
    }
    thanks in advance.

    regards,
    rani

    grid deafult text #47281

    Peter Stoev
    Keymaster

    Hi rani,

    Each column has “cellsalign” and “align” properties which can be set to “left’, “right” and “center”. They specify the cells & header alignment.

    Best Regards,
    Peter Stoev

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

    grid deafult text #47284

    rani
    Participant

    hi,

    thanks for reply,

    actually i don’t want cells align,
    if there are no records in the grid,
    grid shows “No data to display”.
    I need to change the thistext align.

    Regards,
    rani

    grid deafult text #47285

    Peter Stoev
    Keymaster

    Hi rani,

    It seems that you know what to do. The “emptydatastring” should be set and to apply the localization set the Grid’s localization property.

    Best Regards,
    Peter Stoev

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

    grid deafult text #47287

    rani
    Participant

    hi,

    var getLocalization = function () {
    var localizationobj = {};
    localizationobj.emptydatastring = “Click on ADD FILES to select files for ingest”;

    return localizationobj;
    }
    above code i am using to change the emptydatastring, but i need to change the emptydatastring alignment.

    regards,
    sudha

    grid deafult text #47288

    Peter Stoev
    Keymaster

    Hi rani,

    It is not possible to change the alignment of that string.

    Best Regards,
    Peter Stoev

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

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

You must be logged in to reply to this topic.