I did everything by documentation but my table in front-end has no formatting, search, pagination, etc.
In 90% of cases the reason is old PHP installed on your server. Please check if you have PHP 5.4 or higher installed, many hosts still use PHP 5.2 which causes this issue. Usually it takes just to contact you host and ask them to upgrade to PHP 5.4 or 5.5 to solve this issue.
If this is not an option please open the file
Then replace the line
return json_encode($obj, JSON_HEX_APOS || JSON_HEX_QUOT || JSON_HEX_TAG);