on 2011 Dec 14 1:21 PM
Hi All,
I am new at this stage. I want to show data in a Table with Grouping on Rows. How can I implement Grouping on rows.
for exampl.: Lots of data are coming in a Table but I want to show them by grouping on Country,State,City
India
Haryana
Hisar
Rohtak
Maharashtra
Mumbai
America
........
............
............
............
..........
..........
Dear Shiv,
For the table column grouping, table column should be GroupedColumn. Bind the context attribute to the groupingValue properties of the GroupedColumn same as which you will bind to the TextView-TableCellEditor TEXT.
Hope it will helps.
Best Regards
Arun Jaiswal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For each table column you can specify a grouping value. The grouping value property is available in properties of table column.
Ex for country column you can give country name has grouping value and similarly state name for state column
The node bind to the table should be in sorted order.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
57 | |
11 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.