jQuery UI Widgets Forums DataTable Disable cell rendering

This topic contains 2 replies, has 2 voices, and was last updated by  PiDome 10 years, 10 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Disable cell rendering #49397

    PiDome
    Participant

    Hi all,

    Is it possible to disable the cell rendering?

    I have a page where a table is filled with data, only the last two cells can contain html or plain text and i my case it is a button. My web app contains a list of devices where some devices need settings and a window opens when clicked on that button.

    Is it possible to disable rendering for a single cell? Or should i use an hidden cell containing information if a device needs to be set up first and use this in combination with the cellsRenderer rowData parameter containing this information?

    Best regards,
    John.

    Disable cell rendering #49403

    Peter Stoev
    Keymaster

    Hi John,

    You can use the cellsRenderer callback function of your DataTable columns to customize the rendering of your DataTable cells. The widget will display the HTML which you return in that function.

    Best Regards,
    Peter Stoev

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

    Disable cell rendering #49410

    PiDome
    Participant

    Hi peter,

    Thank you for your response, i will use an hidden row’s value

    John.

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

You must be logged in to reply to this topic.