support icon indicating copy to clipboard operation
support copied to clipboard

Custom JSX support for Column Renderer inside Modes in Calendars

Open ghulamghousdev opened this issue 1 year ago • 1 comments

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,
        },
      },
}

ghulamghousdev avatar Jan 16 '24 09:01 ghulamghousdev

mode : 'list' is a Grid.

So this is nothing to do with Calendar. Can you write invalid Javascript in a Grid column renderer?

ExtAnimal avatar Apr 16 '24 14:04 ExtAnimal