Skip to content

Search in hidden columns #419

@eaton010

Description

@eaton010

How to search while the columns is hidden.
eg I have a 'city' [7] column and I'm hide it.
examples code:

new simpleDatatables.DataTable('#house', {
                columns: [
                    {
						searchable: true,
                        select: [0, 6, 7],
                        hidden: true,
						
                        render: (data, cell, row) => {
                            row.dataset.name = data // Will add data to row instead.
                            return data // Will not be shown as column is hidden.
                        }
                    }
                ]
				})

because the results is there when I'm not hiding the city column, but blank result when I hide the column.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions