You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
It is unclear what you are trying to achieve. Do you want to let users search for a city name (for example "Clacton") and show them rows from Clacton but with the word "Clacton" hidden? That sounds like a more exotic UC than what we have encountered so far. It sounds like the column is not really hidden in all respects then. Have you tried hiding the column by other means? For example CSS?
How to search while the columns is hidden.
eg I have a 'city' [7] column and I'm hide it.
examples code:
because the results is there when I'm not hiding the city column, but blank result when I hide the column.
The text was updated successfully, but these errors were encountered: