>First, thanks for your answer. I need that commandbutton changes it's caption depending if an property or objects exists.
>
>When someone click the button in the grid, I add an object to the parent container with the name of the row of the grid in wich the commandbutton was clicked, in that moment I want to change the caption of the button clicked, but only in that button not all the other that are in the column.
There's only one row at a time - the others are just the images of when they were current. That means you don't have n buttons for n rows, there's only one button. If you change some of its properties based on anything not related to the current row, then it applies to all rows.
So when you add the object to parent, make sure you write something into a field in the current row (fields not shown on grid are also OK), and use the content of that field to build the commandbutton's caption. If you have trouble doing this, you may need n different buttons in your column and set the proper one via DynamicCurrentControl. You may try with just one button, .column.sparse=.f. and commandbutton's .refresh setting the button's caption - it may work, haven't tried.
Alternately, you could put an underlined label or read-only textbox instead of the button, and have them display the content of the field I mentioned.
Not sure this is clear... but it also isn't easy :).