# I want to have column width to be retained in the grid if user changes the width

**URL:** <https://community.cumulocity.com/t/i-want-to-have-column-width-to-be-retained-in-the-grid-if-user-changes-the-width/14491>\
**Category:** Forum\
**Tags:** device-management\
**Created:** [April 17, 2026, 10:21am UTC](https://community.cumulocity.com/t/i-want-to-have-column-width-to-be-retained-in-the-grid-if-user-changes-the-width/14491 "2026-04-17T10:21:46Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![sandeepsc](https://avatars.discourse-cdn.com/v4/letter/s/bbce88/32.png) [@sandeepsc](https://community.cumulocity.com/u/sandeepsc)\
**Post date:** [April 17, 2026, 10:21am UTC](https://community.cumulocity.com/t/i-want-to-have-column-width-to-be-retained-in-the-grid-if-user-changes-the-width/14491/1 "2026-04-17T10:21:46Z")

</div>

wanted to have column width to be retained if user move to different page and comes back to same page, change done to column width has to be retained,

currently i tried and could not get it worked, any suggestions.

---

<div class="post-metadata">

**Author:** ![Christian\_Herzog](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/christian_herzog/32/32209_2.png) [@Christian\_Herzog](https://community.cumulocity.com/u/Christian_Herzog)\
**Post date:** [April 23, 2026, 7:50am UTC](https://community.cumulocity.com/t/i-want-to-have-column-width-to-be-retained-in-the-grid-if-user-changes-the-width/14491/2 "2026-04-23T07:50:16Z")

</div>

Hello,  
In which UI page or mask do you have this effect?  
Please let me know the URL.  
To which page to you move to get this effect?  
Regards, Christian Herzog

---

<div class="post-metadata">

**Author:** ![sandeepsc](https://avatars.discourse-cdn.com/v4/letter/s/bbce88/32.png) [@sandeepsc](https://community.cumulocity.com/u/sandeepsc)\
**Post date:** [April 27, 2026, 5:10am UTC](https://community.cumulocity.com/t/i-want-to-have-column-width-to-be-retained-in-the-grid-if-user-changes-the-width/14491/3 "2026-04-27T05:10:23Z")

</div>

yes its in UI,, what i need is retaining the column width when user changes the column width in home page for example and moves to other page, when he comes back to Home page the column width changes has to be retained. current i used event config and event is not triggering. i am using has a base components

---

<div class="post-metadata">

**Author:** ![sandeepsc](https://avatars.discourse-cdn.com/v4/letter/s/bbce88/32.png) [@sandeepsc](https://community.cumulocity.com/u/sandeepsc)\
**Post date:** [April 27, 2026, 5:12am UTC](https://community.cumulocity.com/t/i-want-to-have-column-width-to-be-retained-in-the-grid-if-user-changes-the-width/14491/4 "2026-04-27T05:12:38Z")

</div>

url i am not sure if i could share, currently we are in development stage. To access you should be added as user even if i share link here.

---

<div class="post-metadata">

**Author:** ![Christian\_Herzog](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/christian_herzog/32/32209_2.png) [@Christian\_Herzog](https://community.cumulocity.com/u/Christian_Herzog)\
**Post date:** [April 27, 2026, 2:21pm UTC](https://community.cumulocity.com/t/i-want-to-have-column-width-to-be-retained-in-the-grid-if-user-changes-the-width/14491/5 "2026-04-27T14:21:00Z")

</div>

Please share the URL (as I can conclude from it where you are) and a screenshot withe an example, as we have thousands of UI pages.

---

<div class="post-metadata">

**Author:** ![sandeepsc](https://avatars.discourse-cdn.com/v4/letter/s/bbce88/32.png) [@sandeepsc](https://community.cumulocity.com/u/sandeepsc)\
**Post date:** [April 28, 2026, 5:26am UTC](https://community.cumulocity.com/t/i-want-to-have-column-width-to-be-retained-in-the-grid-if-user-changes-the-width/14491/6 "2026-04-28T05:26:03Z")

</div>

[Data grid / Cumulocity - Codex](https://cumulocity.com/codex/components/data-display-and-visualization/data-grid/overview)

Please find the url. In above url i will change the width of the column. i will move to page [Device connection status / Cumulocity - Codex](https://cumulocity.com/codex/components/data-display-and-visualization/device-connection-status/overview) and come back to Data Grid page width would reset, i want to retain the changes.

---

<div class="post-metadata">

**Author:** ![Christian\_Herzog](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/christian_herzog/32/32209_2.png) [@Christian\_Herzog](https://community.cumulocity.com/u/Christian_Herzog)\
**Post date:** [April 28, 2026, 8:42am UTC](https://community.cumulocity.com/t/i-want-to-have-column-width-to-be-retained-in-the-grid-if-user-changes-the-width/14491/7 "2026-04-28T08:42:52Z")

</div>

In the UI I found no way to freeze the width of a column, only with an own web app using the web SDK: [Introduction - Cumulocity documentation](https://cumulocity.com/docs/web/introduction/)
