I'm trying to wrap my head around searchBuilder
and its configuration.
In my case i need only a column
to be searched, so i want to be the only column to be auto-selected for every new condition i add
This column in my datas contains strings commas separated.
Since i'm using only that column with searchbuilder how can i autoselect for every new init condition
the only column that is in the list ??
There is an event that i can use to set a default predefined column to be searched on ??
My button is configured this way:
{
extend:'searchBuilder',
className:'btn btn-sm btn-layer1 my-1',
config: {
columns: [3],
preDefined: {
criteria: [
{
data: 'Tags',
condition:'contains'
},
],logic: 'AND'
}
}
}