Skip to Main Content

Programming Languages & Frameworks

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

ojcustomelement-utils.js:151 Uncaught JetElementError: oj-gantt with id '': Error while parsing parsing attribute row-data. E

Vencislav VidovDec 5 2024

export function GanttChart() {

const renderRow = useCallback(

(task: ojGanttRow) => {

  console.log(task);

  return (

    \<oj-gantt-row />

  );

},

\[\]

);

console.log('Calling GanttChart', dataprovider);

console.log('Calling GanttChart', dataprovider.data[0]);

console.log('Calling GanttChart', dataprovider.data[0].resource);

return (

\<oj-gantt

  start='2024-12-05T05:00:00.000Z'

  end='2024-12-05T22:00:00.000Z'

  major-axis='{"scale": "days"}'

  minor-axis='{"scale": "hours"}'

  gridlines={gridlinesItemVisible}

  row-data={dataprovider}>

  \<template slot="rowMappingTemplate" render={renderRow}>\</template>

\</oj-gantt>

);

I do not why I get that error by passing a row to render callback:(

I have 3 logs, but never to that one in renderRow

I am also not sure if I post and the right place, but I did not find any post related to JET VDOM

Comments
Post Details
Added on Dec 5 2024
0 comments
13 views