XiboGrid behavior in twig file

Hi,

i’m editing the Xibo\views\display-page.twig in Xibo-cms 1.8 beta tag.

i want to change the default columns in Monitor page on CMS for example Email Alert.

If i add a “visible” option like this:

{
    "data": "emailAlert",
    "visible": "false",
    "render": dataTableTickCrossColumn
},

it shows again the Email Alert column in table.

How does it work? Is there a guide ?

Thanks

We use DataTables.Net as our grid component - https://datatables.net/reference/option/columns.visible

What you’ve done should work - although you are passing a string rather than a boolean, which might be the cause of the problem

1 Like