Gannt GanttCellProps

1 Answer 74 Views
Gantt
n/a
Top achievements
Rank 1
Iron
n/a asked on 03 Mar 2022, 10:34 AM

Hi, 

 

ist there any example where GanttCellProps is used.

Thank you, Matjaz Reberc

 

1 Answer, 1 is accepted

Sort by
1
Accepted
Stefan
Telerik team
answered on 03 Mar 2022, 10:58 AM

Hello, Matjaz,

The GanttCellProps is the interface for the props that each Gantt Cell receives:

https://www.telerik.com/kendo-react-ui-develop/components/gantt/api/GanttCellProps/

For example here, the props of the custom cell are of that type

https://stackblitz.com/edit/react-hzqrdq?file=app/main.jsx

  {
    field: taskModelFields.id,
    title: 'ID',
    width: 70,
    cell: (props) => <td>test</td> // these props are of type GanttCellProps
  },

Regards,
Stefan
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Gantt
Asked by
n/a
Top achievements
Rank 1
Iron
Answers by
Stefan
Telerik team
Share this question
or