# Problem with datagrid component colume resize at runtime

**URL:** <https://forum.kirupa.com/t/problem-with-datagrid-component-colume-resize-at-runtime/162565>\
**Category:** Uncategorized\
**Created:** [September 14, 2005, 12:06pm UTC](https://forum.kirupa.com/t/problem-with-datagrid-component-colume-resize-at-runtime/162565 "2005-09-14T12:06:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zeemanish](https://avatars.discourse-cdn.com/v4/letter/z/439d5e/32.png) [@zeemanish](https://forum.kirupa.com/u/zeemanish)\
**Post date:** [September 14, 2005, 12:06pm UTC](https://forum.kirupa.com/t/problem-with-datagrid-component-colume-resize-at-runtime/162565/1 "2005-09-14T12:06:29Z")

</div>

Hey I am using the datagrid component to edit data from external XML.

i am having a problem with fix the size of coulum at runtime.

i am using a code is  
[color=Blue]  
// xmlConnector is xml connector instance name[/color]

```
[color=Red][color=Purple]this.xmlConnector.trigger();[/color][/color]

```

[color=Blue]// navdetails is datagrid instance name[/color]

[color=Red]navdetails.getColumnAt(0).width = 80;  
navdetails.getColumnAt(1).width = 80[/color];

I am at a loss any help would be great…if code helps Ill post her up.

Manish
