Last active
August 29, 2015 14:06
-
-
Save keirbowden/d15d52b89502d6dc9311 to your computer and use it in GitHub Desktop.
Custom controller for the table sorting blog post
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public with sharing class TableSortingCtrl { | |
public List<Account> accounts {get; set;} | |
public TableSortingCtrl() | |
{ | |
accounts=[select id, CreatedDate, Name, BillingStreet, | |
BillingState, BillingCity, | |
BillingPostalCode, BillingCountry | |
from Account | |
where BillingPostalCode!=null | |
limit 10]; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment