support
support copied to clipboard
Custom JSX support for Column Renderer inside Modes in Calendars
https://forum.bryntum.com/viewtopic.php?p=138125#p138125
We do not support Custom JSX for column renderers inside modes in calendars. For example following code will not work:
modes: {
list: {
columns: {
name: {
name: "name",
text: "Shipment",
editable: false,
sortable: true,
htmlEncode: false,
width: 200,
renderer: ({ record }) => {
// !IMPORTANT! change the config.mode to 'list' to see the error
return <div>Test</div>;
},
},
resources: null,
start: null,
end: null,
},
},
}
mode : 'list' is a Grid.
So this is nothing to do with Calendar. Can you write invalid Javascript in a Grid column renderer?