Hi, There are many scenario, when we do calculation and bind it with Grid in dynamics 365 for finance and operations.
For these scenario, we populate temp table at run time and bind it to form data source.
We wrote code init() initialization method of data source to bind temp table to populate.
I used following code snippet for data populate temp table based data source.
Small tip, but I learn it today, Again Document not create.