Skip to content

Search Builder dropdown column build is not checking for the "searchable": false condition in datatables #8

@reaua001

Description

@reaua001

If you have a datatable column condition like this...

"columns": [
  { "data": "Name" },
  {
    "data": null,
    "sortable": false,
    "searchable": false,
    "render": function render(data, type, row, meta) {
                    var output = "<a class=\"action-view btn btn-xs btn-outline-secondary\" title=\"View\" href=\"/View/" + row.id + "\"><span class=\"bx bx-edit-alt\"></span></a>";
                    return output;
    }
}]

Search Builder column dropdown will still show the item

image

I looked at source code, and I could not find (yet) the spot where you are populating it

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