version 3: automatic determine data when type is sort or page
Merge branch 'master' of github.com:Baiqiang/em_tpl_options