Is it possible to set NewRow values using JS API?

Hi

I have a table with 'Add new row' enabled. In the new row, before saving, the user can select a client from a dropdown tag list. If a client is selected, I'd like to use the selected client name and email to populate the relevant fields in the new row. Is this possible? I guess to do this would need access to newRow cell change events if they exist, along with a way to set new row values.

Thanks!

Hi @DavidS Thanks for reaching out about this! It doesn't seem like it's currently possible to set the new row data based on other columns :disappointed:

I'd recommend working around this by using a form to add the new data. If you still want the functionality to be a part of the table component, you could follow the suggestion that I made here: http://community.retool.com/t/add-row-window-starts-out-too-low-for-json-column-editor-to-render-correctly/17411

1 Like