TitleStates (data sort) and FooterStates (summary data)
=======================================================
TDBGridPro handles mouse clicks on the column's titles and supports 
column's footers

TDBGridPro.OnTitleStateChange is called when column title is clicked.

TDBGridPro.OnFooterStateChange is called after changing the state of column's
footer.
