Loading data in a cell async
Loading data in a cell async

Is there a way to load the data in a cell asynchronously? What we are trying to do is below.
- The datatable is loading using an ajax call.
- All the columns are defined to use properties from the returned array of objects.
- Certain columns need to be further resolved by making subsequent batch queries using the IDs from the first query.
- The data from the subsequent query needs to be updated into the cell where the ID was displayed from the first query.
Apparently the data and render functions expect the data to be returned right away. I was wondering if we can return a promise or something and resolve it when step 3 above returns.
Any examples or suggestions would be greatly appreciated.
This discussion has been closed.