Column def declaration
codetestmg opened this issue · 2 comments
codetestmg commented
First of all thanks for the wonderful library .May i know how i can declare column def
"columnDefs": [
{
"targets": [ 2 ],
"visible": false,
"searchable": false
},
{
"targets": [ 3 ],
"visible": false
}
]
Also is there a option to hide particular individual column search input box
yajra commented
Try this: On the parameters, just pass this as equivalent array in php.
->parameters([
'columnDefs' => [
['targets' => [2], 'visible' => false, 'searchable' => false],
['targets' => [3], 'visible' => false],
]
])
codetestmg commented
@yajra .Thank you so much .