Hi,
We have a situation where we have a custom column class and we want to pass some external meta data from outside the gantt to the column renderer function is there anyway to do this
for example
<BryntumGantt
config={config}
columns={columns}
project={projectModel}
ref={ganttRef}
metaData="some meta info here"
/>
Then in the Column class like below we want to access this info
export default class BudgetKwColumn extends Column {
static get type() {
return 'budgetkw';
}
field = 'budgetkw';
text = gettext('Budget/kW');
htmlEncode = false;
autoWidth = true;
readOnly = true;
editor = false;
type = 'number';
renderer(renderData) {
// access this infor here
}
}
is there a way to do this, or something similar that allow us to pass info to the column renderer