jQWidgets Forums

jQuery UI Widgets Forums Grid Grid Column Header | From Server-side

Tagged: 

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

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

  • rskbuvan
    Spectator

    Hi,

    I’ve a situation here that, need to render / print a column header dynamically using server-side (i.e. JSP ->

    <s:text name="keyname" />

    ). But currently the widget allow us to use a static header as the following,

    columns: [{ text: '<strong>Company</strong>', editable: false, datafield: 'COMPANYNAME'}]

    In the above code, instead giving the table header as static i.e. Company; I need the server-side value to be printed because our application supports multi-lingual.

    Can anyone please help me?

    I look for a solution.

    Regards,
    \_rssb


    Peter Stoev
    Keymaster

    Hi,

    The column’s “text” property can point to a “String” or a “String” variable. In case you have the Strings to be displayed stored in variables, you can set the column’s “text” property to point to such String variable.

    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.