How to use dynamic content in a TABLE component of a Form?

Hi,
I’m stuck trying to create and modify the variable linked to a DataSource of a TABLE component of a form. I am using javascript.
Can anyone give me some idea?