I may be a little late to the game here, coming back to a project that has sat idle for a little bit. I had URL’s embedded in a datagrid and noticed that the Link component is now deprecated. Is there a way around this with another type within a data grid, or do I have to recreate my whole table (which has some complex components in it)?
Hi @technobie
You don’t have to recreate the whole table, only wrap the elements that no longer support links inside a container. This is related to our clean DOM release, on which you will find more information here: Release notes – Cleaner code, breaking changes, and right-click feature
"Before, you could add links on any element of your app, including inputs or a kanban for example. But this is not standard practice in web development.
Now, we will only handle links on certain elements, namely: sections, divs, containers, texts, icons, images, and buttons.
If, by any chance, you need to add a link to another type of element, say an input for example, you will need to wrap that element inside a div or container and set the link on the wrapper.
This is another step to help you follow web development best practices while building in the WeWeb editor."
Thanks - makes sense, if I were using a standard table, but since I’m using a Data Grid, I don’t think there is a way to place a container within the data grid, wrapping a cell - text element. Am I missing something with how to insert a container/div/section within a data grid? Appreciate the help.