Action Columns Demo

The Adaptable Blotter provides an Action Column function that allows you to specify a button to placed in a column.

When the button is clicked an onActionColumnClicked event fires, providing details of column clicked and current data in the row; subscribe to this event and perform any additional logic that is required.

You are also able to provider a render function (specify it in Advanced Options) that will replace the default button with one that matches the look and feel that you specify.

In this example we have created Action Columns Plus and Minus and in the onActionColumnClicked event handler we update the Item Count column (though we do also have a Plus/Minus Function).

We also created a Multiply Action Column which doubles or trebles the Item Cost column. We've applied our own rendering function for the button, with logic to say it shouldn't appear if Employee is Margaret.

Adaptable Blotter Help Resources: Predefined Config - Blotter API - FAQ - Videos.