Question
4
Replies
607
Views
Posted: August 1, 2017
Last activity: August 28, 2017
Closed
How to get distinct values of a Data Grid?
Hi,
I would like to get the distinct column from a Data Grid. Example, data grid has the following records:
ID | Name | Country
--------------------------
1 | John | US
2 | Fred | Canada
3 | Ben | US
Would like to get the distinct country (US and Canada) and display it on another DataGrid or to Data Table.
Thanks
The TableView component has a method ToTable which will do this.
http://help.openspan.com/80/Components/Data_Table_Viewer.htm