fix sorting not working in data mode
fix sorting not working in data mode

Calling loadData() only when in API mode, preventing callDataManager to
be called because the call is "in" loadData method.

By checking either it is in API mode or that the dataManager prop
function is set, this will allow callDataManager to be executed.

ratiw/vuetable-2,ratiw/vuetable-2