Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Custom pagination look #632

Open
ghost opened this issue Jan 26, 2018 · 1 comment
Open

Custom pagination look #632

ghost opened this issue Jan 26, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Jan 26, 2018

Is more a question than an issue. Is it possible to write my own html to handle pagination?
Thing is: It´s mandatory in my project using a template but you md-data-table is awesome... I would like to use it but with my company´s look and feel.

@MatteoDigi
Copy link

in your app config function add:

$provide.decorator('mdTablePaginationDirective', function ($delegate) {
        var directive = $delegate[0];
        directive.templateUrl = 'path to custom template';
        return $delegate;
    });

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant