# Custom Column Width

**URL:** <https://community.cumulocity.com/t/custom-column-width/12721>\
**Category:** Forum\
**Tags:** customization, data-grid, app-enablement\
**Created:** [September 9, 2025, 9:14am UTC](https://community.cumulocity.com/t/custom-column-width/12721 "2025-09-09T09:14:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Flubio](https://avatars.discourse-cdn.com/v4/letter/f/e47774/32.png) [@Flubio](https://community.cumulocity.com/u/Flubio)\
**Post date:** [September 9, 2025, 9:14am UTC](https://community.cumulocity.com/t/custom-column-width/12721/1 "2025-09-09T09:14:37Z")

</div>

Hi,  
we’re using **Cumulocity 1021.31.4** with **Angular 18.2**. **0**.

We have a grid that displays detailed structure and hierarchy of a tenants devices, due to some complexity and requirements I had to build a custom select and collapse mechanism that is displayed in the first two columns through header and cell renderers.

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/e/8/e8db3db241443dc6ce7cd7e9e790838af70a18af.png)

After some tinkering trying to get the first to columns to be smaller than the rest (adjusting the grid-template) which did not work I come to you and want to ask if there is any way to adjust only these two columns width

---

<div class="post-metadata">

**Author:** ![Christian\_Guether1](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/christian_guether1/32/14848_2.png) [@Christian\_Guether1](https://community.cumulocity.com/u/Christian_Guether1)\
**Post date:** [September 10, 2025, 6:14am UTC](https://community.cumulocity.com/t/custom-column-width/12721/2 "2025-09-10T06:14:24Z")

</div>

Hi Flubio,

you can adjust the column width by using the property `gridTrackSize` of the Column interface, e.g. `gridTrackSize: '150px'`.

Best regards

---

<div class="post-metadata">

**Author:** ![Flubio](https://avatars.discourse-cdn.com/v4/letter/f/e47774/32.png) [@Flubio](https://community.cumulocity.com/u/Flubio)\
**Post date:** [September 10, 2025, 8:35am UTC](https://community.cumulocity.com/t/custom-column-width/12721/3 "2025-09-10T08:35:54Z")

</div>

Thank you for helping me this quickly 🙂

Best regards
