# Targeting a component value

**URL:** <https://forum.kirupa.com/t/targeting-a-component-value/56896>\
**Category:** Uncategorized\
**Created:** [July 8, 2004, 5:05pm UTC](https://forum.kirupa.com/t/targeting-a-component-value/56896 "2004-07-08T17:05:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![guitarzen](https://avatars.discourse-cdn.com/v4/letter/g/5f9b8f/32.png) [@guitarzen](https://forum.kirupa.com/u/guitarzen)\
**Post date:** [July 8, 2004, 5:05pm UTC](https://forum.kirupa.com/t/targeting-a-component-value/56896/1 "2004-07-08T17:05:58Z")

</div>

I have a simple component for a grid. I would like to use a button to access the values inside the component. How would I target and change these values?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 9, 2004, 4:11am UTC](https://forum.kirupa.com/t/targeting-a-component-value/56896/2 "2004-07-09T04:11:11Z")

</div>

you can target it using instance name.

targetPath\_of\_urComponent.property  
eg: this.myComponent.name

note that the property should define as public property
