Hello everyone! I come to confirm if this is a bug or not, when I use one of the new elements “data/grid” this receives an array of objects, inside we can define what type of cell we want, if we use “Custom” this generates a space to interact within the component, but this is not happening if we pass the array by a formula as I leave in the images.
I would like to know if this is a bug or if it is intended. thank you very much.
Hi @santiago
Sorry, it’s a technical limitation. For now, it’s not possible to use custom types with dynamic columns. It’s something the team is aware of, and we’re reviewing feedback on cases like yours as we continue improving the data grid.
thank you! I solved this changing the component and adding a “visible” option for the rows, and now I can use the custom types
Hey @santiago ,
Can you elaborate on your solution, as I also got stuck because of this limitation.
Cheers!!
Sure!
I add a “visible” field in the columns that you can bind, and I have all the collumns created and with an array with all the columns name I check if that array contain the collumn name
feel free to ask anything if you need it
at first what I did was to grab the data grid element base from weweb and hit “fork component” and there I was able to access the component code
wow nice job, can you show the changes that you did to the component.
or did you use the AI feature for it.
I really appreciate the help:]
thank you! I used the AI it’s really helpfull
pro tip: you can use the ag-grid documentation for guide the AI
I used to create “on sort” event and “on row clicked” event