How to generate Outsystems pattern with Javascript

Hi, I'm handling the button trigger click event by javascript event. Everytime I click this button, the new row is generated on DOM, I want to generate 1 input and 1 datepicker (Outsystems's pattern) in a row of the table. But I do not know how to generate that datepicker because It's belong to Outsystems. I hope your help.



Hi Vu,

You cannot do this. You cannot manipulate the DOM in a way OutSystems understands. OutSystems is a low-code platform, and what you're doing isn't particularly low-code.

If you want to add a row to a Table Records, you set the button to Ajax Submit, call a Screen Action that adds a Record to the List that's bound to the Table Records, then Ajax Refresh the Table Records.