Wrong Example in Documentation info.text

Wrong Example in Documentation info.text

krismexwkrismexw Posts: 1Questions: 1Answers: 0

Link to test case: https://datatables.net/reference/feature/info.text
Debugger code (debug.datatables.net): -
Error messages shown: -
Description of problem:

new DataTable('#myTable', {
    layout: {
        bottomStart: {
            info: {
                info: 'Showing page _PAGE_ of _PAGES_'
            }
        }
    }
});

it is info.text and not info.info so it should be:

new DataTable('#myTable', {
    layout: {
        bottomStart: {
            info: {
                text: 'Showing page _PAGE_ of _PAGES_'
            }
        }
    }
});

This question has an accepted answers - jump to answer

Answers

Sign In or Register to comment.