The OneStream Community is temporarily frozen until June 29th due to the ongoing maintenance. Please read the blog post here to learn more.
Forum Discussion
RandyThompson
3 years agoNew Contributor III
How can we show commas as the thousand separator in a numeric Table View column
We are trying to format numeric columns in a Table View but haven't been successful. The numeric columns are currently appearing as 999999.99 instead of the desired 99,999.99. Are Table View currentl...
ckattookaran
3 years agoValued Contributor
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.
- RandyThompson3 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.
- JackLacava3 years ago
OneStream Employee
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- sfilho3 years agoNew Contributor III
Hi Jack,
Where I should create the datatable? Is the datatable a different table view?
Thx
Related Content
- 3 years ago
- 1 year ago