Filling of DataTable programmatically with different field types
Filling of DataTable programmatically with different field types
Hello everyone!
Maybe someone can help where it is possible to find any example on how to create a DataTable programmatically, where on the fly depending on external conditions we can add fields of different types, so the the Editor uses them for selection.
For example we get information that a table should contain 3 columns:
- select list (options provided)
- checkbox
- text
We need to generate a DataTable based on it and fill it with data, which are also taken from external data source.
I am trying to dig in API for this, however can not find any suitable page for explanation. Did you face any experience with it?
Thank you in advance!