Apply one colmnFilter on two columns
Apply one colmnFilter on two columns
Hello Datatable user,
is it possible to apply one columnFilter (textfilter) on two columns? I have a table with the following structure:
[code]
Category
Name
Link
Remark
Valid for
Version
Status
Category
Name
Link 1
Link 2
Remark
Valid for
Version
Status
[/code]
I want that a textfilter in "Links" looks for results in "Link 1" and "Link 2"
this is my initiation code:
[code]
aoColumns: [ { type: "select", values: [ 'Basic', 'Civil', 'Electrical', 'Mechanical'] },
null,
{ type: "text" },
null,
null,
{ type: "select", values: [ 'x', 'y', z'] },
null
]
[/code]
do you have any ideas for me? thank you in advance!
is it possible to apply one columnFilter (textfilter) on two columns? I have a table with the following structure:
[code]
Category
Name
Link
Remark
Valid for
Version
Status
Category
Name
Link 1
Link 2
Remark
Valid for
Version
Status
[/code]
I want that a textfilter in "Links" looks for results in "Link 1" and "Link 2"
this is my initiation code:
[code]
aoColumns: [ { type: "select", values: [ 'Basic', 'Civil', 'Electrical', 'Mechanical'] },
null,
{ type: "text" },
null,
null,
{ type: "select", values: [ 'x', 'y', z'] },
null
]
[/code]
do you have any ideas for me? thank you in advance!
This discussion has been closed.