DataGridView Grouping
-
hi I want to make grouping in the data grid view. like
Table 1
pk col1 col2
1 ABC 51
2 DEF 74Table 2
pk col1 col2 col2 col3 fk(pk_table_1)
1 abc 3 23 111 1
2 def 3 45 74 1
3 kki 8 23 871 2
4 qwe 2 15 5 2
5 eed 7 41 91 2Now I want to show the data in the grid but in summarized form. like only the data that is in table 1 will be displayed first and at the left most a + sign will be displayed when we press that the data of table 2 will be displayed then. Thanks
Syed Shahid Hussain
-
hi I want to make grouping in the data grid view. like
Table 1
pk col1 col2
1 ABC 51
2 DEF 74Table 2
pk col1 col2 col2 col3 fk(pk_table_1)
1 abc 3 23 111 1
2 def 3 45 74 1
3 kki 8 23 871 2
4 qwe 2 15 5 2
5 eed 7 41 91 2Now I want to show the data in the grid but in summarized form. like only the data that is in table 1 will be displayed first and at the left most a + sign will be displayed when we press that the data of table 2 will be displayed then. Thanks
Syed Shahid Hussain
Syed Shahid Hussain wrote:
Thanks
There's no question in this post, that makes it somewhat harder to formulate an answer. AFAIK, the requested behaviour isn't standard available in the DataGridView. It might be best to look for a 3d-party grid that supports drill-down and grouping.
I are Troll :suss: