Defaulting New Rows to be Added to the Bottom of an Editable Detail List in Creatio

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.

Want content like this delivered to your inbox? Sign up for our newsletter!

Ryan Farley

Ryan Farley is the Director of Development for Customer FX and creator of He's been blogging regularly about SalesLogix, now Infor CRM, since 2001 and believes in sharing with the community. His new passion for CRM is Creatio, formerly bpm'online. He loves C#, Javascript, web development, open source, and Linux. He also loves his hobby as an amateur filmmaker.

Submit a Comment

Your email address will not be published. Required fields are marked *