Page 1 of 1

[REACT] Chips inside a custom column

Posted: Wed Feb 08, 2023 3:02 pm
by vconstruct

Hi,

We are trying to create a custom column and in the column we are trying to display data in the form of chips just as we have in resource assignment the data that we are trying to map is an array of objects, can you please help us in achieving this since we have gone through the docs and didnt find anything that could help us with this


Re: [REACT] Chips inside a custom column

Posted: Wed Feb 08, 2023 3:09 pm
by marcio

Hey vconstruct,

You can use the Template column - https://bryntum.com/products/gantt/docs/api/Grid/column/TemplateColumn there is an example inside that documentation that I believe you will find useful. :)


Re: [REACT] Chips inside a custom column

Posted: Wed Feb 08, 2023 6:41 pm
by vconstruct

Quick question, whats the difference between using template column and a custom column with a renderer, also can we use chipview with template column?


Re: [REACT] Chips inside a custom column

Posted: Wed Feb 08, 2023 10:11 pm
by marcio

Hey vconstruct,

Actually, you can use both in the way that you're asking, and with both you can achieve the chipview.


Re: [REACT] Chips inside a custom column

Posted: Thu Feb 09, 2023 7:16 pm
by Animal