Skip to content

[SOLVED] Option tableId not work #371

@sprigganmaster

Description

@sprigganmaster

In the function _createTable don't add the attribute ID to the table.

I add this line: .attr('id', this.options.tableId)

and the function result:

    _createTable: function () {
        this._$table = $('<table></table>')
            .addClass('jtable')
            .attr('id', this.options.tableId)
            .appendTo(this._$mainContainer);

        this._createTableHead();
        this._createTableBody();
    },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions