You need to sign in to do that
Don't have an account?

datatable to retrieve subset of contacts for an account?
We have an issue where we have some accounts that have literally 1000's of contacts associated to them. The Sales Rep is really only concerned with a small subset of these contacts and so we would love to have either a seperate related list or even a new view that would should show their 'Sales Contacts'. Is this something that VisualForce could do? Is it possible to add a filter to the datatable component?
Here's a quick and dirty example for you.....
Just add your filter to the SOQL query.
Could someone help me writing the test class for this? thanks