Forum Discussion
ckattookaran
2 years agoVIP
Randy, you will have to get rid of the column format and use the populate from data table option with the keep format from data boolean.
- RandyThompson2 years agoNew Contributor III
Thanks, Celvin. Unfortunately I can't find any documentation on this. Can you share a snippet of code of how to use the populate from data table. Thanks.
- JackLacava2 years agoHonored Contributor
Didn't test this but it should work.
' assuming yourDataTable will have been obtained already Dim includeColHeaderRow as Boolean = True Dim useDataTypes as Boolean = True ' try switching this on/off to compare results args.TableView.PopulateFromDataTable(dataTable, includeColHeaderRow, useDataTypes) return args.TableView
- sfilho2 years agoNew Contributor III
Hi Jack,
Where I should create the datatable? Is the datatable a different table view?
Thx
Related Content
- 4 months ago
- 2 years ago
- 2 years ago