I've not used this class much but as far as I remember, you set the number of rows you want, then you call update content. That will in turn call refreshComponentForRow() on each cell. You override that method to do the drawing for each row. I think there is an examples in the Juce Demo that might help.
I've made some progress to understand the concept and how to use it.
Now my only trouble is on how can i make a 2D array.
I know that i can create one 2D array simply doing String myArray[10][10], but i do not want to limit the size of my array, since i need less or more data.
How can I use a OwnedArray to be 2 dimensions and how to use it ?
I need to create one array that can be used like this:
my2DArray[0][1] = "something";
my2DArray[0][2] = "something";
my2DArray[0][3] = "something";
...
my2DArray[n][3] = "something";
And also how to know the size of my array.
And finally, when i update or add anything to my arry, i cannot find the way to refresh the table.
To refresh the table just updateContent(). Have you tried looking at the StringArray class? It's simple to add a remove strings from it, as well as query its size.