Quantcast
Channel: DataTables 1.10 — DataTables forums
Viewing all articles
Browse latest Browse all 2364

how to custom define the search field name

$
0
0

Hi, I got a problem, I defined a field 'good_id' like this

{
data: 'good_id',
searchable: false,
render: function(data, type, row, meta){
if(row.good){
return row.good.name;
}
return '';
}
},

but when I search , I want to search the field 'good.name' not 'good_id', so how should I do ?


Viewing all articles
Browse latest Browse all 2364

Trending Articles