# Link (URL) deprecated in DataGrid

**URL:** <https://community.weweb.io/t/link-url-deprecated-in-datagrid/14786>\
**Category:** Ask us anything\
**Tags:** data-grid\
**Created:** [December 2, 2024, 9:51pm UTC](https://community.weweb.io/t/link-url-deprecated-in-datagrid/14786 "2024-12-02T21:51:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![technobie](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/technobie/32/10371_2.png) [@technobie](https://community.weweb.io/u/technobie)\
**Post date:** [December 2, 2024, 9:51pm UTC](https://community.weweb.io/t/link-url-deprecated-in-datagrid/14786/1 "2024-12-02T21:51:09Z")

</div>

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)?

 ![Screenshot 2024-12-02 at 4.49.02 PM](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/6/6c4be7262cb5e0a7546a545c09c49b83866f991e.png)

---

<div class="post-metadata">

**Author:** ![DanielL](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/daniell/32/13398_2.png) [@DanielL](https://community.weweb.io/u/DanielL)\
**Post date:** [December 3, 2024, 3:41am UTC](https://community.weweb.io/t/link-url-deprecated-in-datagrid/14786/2 "2024-12-03T03:41:45Z")

</div>

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](https://community.weweb.io/t/release-notes-cleaner-code-breaking-changes-and-right-click-feature/12799)

"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."

---

<div class="post-metadata">

**Author:** ![technobie](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/technobie/32/10371_2.png) [@technobie](https://community.weweb.io/u/technobie)\
**Post date:** [December 3, 2024, 2:51pm UTC](https://community.weweb.io/t/link-url-deprecated-in-datagrid/14786/3 "2024-12-03T14:51:43Z")

</div>

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.
