
When working with an editable detail in Creatio, when the add button is clicked, the default behavior is that the new row is added to the top of the detail list. This might not be the behavior you want, especially if the detail rows represent some “sequential” things, and the new row will represent the next item in the sequence. This is what is looks like by default:
In our scenario, we are numbering the rows, so it’s confusing to have the next numbered row appear at the top. Luckily, you can easily change this default behavior to add new rows to the bottom of the detail list. To change this, simply open the detail schema and add the following code:
getAddItemsToGridDataOptions: function() { return { mode: "bottom" }; }
Now, with this code in place, we’ll get this new behavior, where new rows are added to the bottom.
Subscribe To Our Newsletter
Join our mailing list to receive the latest Infor CRM (Saleslogix) and Creatio (bpm'online) news and product updates!
You have Successfully Subscribed!