You need to sign in to do that
Don't have an account?
Dan Hardy
Grouping table by stage in Visualforce without aggregate
This is my first attempt at a custom controller. I've got a list of 70 projects that are sorted by development stage. The SOQL query is this:
'SELECT Id, Name, Total_Units__c, City__c FROM RCD_Project__c ORDER BY Stage__c,Name ASC'
I want to be able to group by stage of project so the table will look like
Stage 1
Thanks much.
'SELECT Id, Name, Total_Units__c, City__c FROM RCD_Project__c ORDER BY Stage__c,Name ASC'
I want to be able to group by stage of project so the table will look like
Stage 1
- Project 3
- Project 9
- etc
- Project 5
- Project 6
Thanks much.
You can do this by wrapper class.First you need to arrange your data in your controller.
Then you can use the wrapper list to show the data.
Note :There may be typo error as it is a rough code .
Hope this helps.