jQWidgets Forums

jQuery UI Widgets Forums Grid Edit Column : Change Text

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Edit Column : Change Text #47428

    jon74
    Participant

    Hi all,
    I was just wondering if it’s possible to change the text of one or all columns of my grid at runtime.
    I mean, once created the grid I have a function that updates the grid values by using this call:

    var dataAdapter = new $.jqx.dataAdapter(source);
    $("#jqxgrid").jqxGrid({ source: dataAdapter });

    But I need also to change the columns header (just the label), and I don’t wanna destroy and create a new table if not strictly necessary.

    Thanks in advance

    Edit Column : Change Text #47512

    Peter Stoev
    Keymaster

    Hi jon74,

    The Grid has a method called “setcolumnproperty”. By using it, you can change the “text” property of a column.

    Best Regards,
    Peter Stoev

    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.