Dear colleagues,
I am working in project that has a view with a grid that its design must be drived by data, i.e., its columns matches a database query where each row should be a columns. Take a look at the example below:
Assuming that we have a database table named country (code; name) and another, ranges (id; start; end; country_code):
COUNTRY
1 | Australia
2 | Brazil
3 | England
4 | Germany
5 | Ireland
6 | USA
RANGES
1 | 001 | 100 | 6
2 | 101 | 200 | 3
3 | 201 | 300 | 1
4 | 301 | 400 | 4
So, the grid should have this appearance:
Please, ignore the countries ordering.
Is it possible?
Best regards
Vitor Eduardo
I am working in project that has a view with a grid that its design must be drived by data, i.e., its columns matches a database query where each row should be a columns. Take a look at the example below:
Assuming that we have a database table named country (code; name) and another, ranges (id; start; end; country_code):
COUNTRY
1 | Australia
2 | Brazil
3 | England
4 | Germany
5 | Ireland
6 | USA
RANGES
1 | 001 | 100 | 6
2 | 101 | 200 | 3
3 | 201 | 300 | 1
4 | 301 | 400 | 4
So, the grid should have this appearance:
START | END | USA | BRAZIL | ENGLAND | IRELAND | AUSTRALIA | GERMANY |
001 | 100 | x | |||||
101 | 200 | x | |||||
201 | 300 | x | |||||
301 | 400 | x |
Please, ignore the countries ordering.
Is it possible?
Best regards
Vitor Eduardo
Comment