Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82053

'fixedColumns' does not exist in type 'Settings'

$
0
0

Object literal may only specify known properties, and 'fixedColumns' does not exist in type 'Settings'.

I am working in Angular 4 . I use Jquery Datatables Fixed Columns . So that i installed the NPM for Fixed Columns . After I installl , i added the CSS and JS of fixed columns in .angularcli.json file . its properly added .After that i tried to add fixed column property in dtoptions i get this error " Object literal may only specify known properties, and 'fixedColumns' does not exist in type 'Settings'."

NPM packages which was i installed.

npm install jquery --save
npm install datatables.net --save
npm install datatables.net-dt --save
npm install angular-datatables --save
npm install @types/jquery --save-dev
npm install @types/datatables.net --save-dev

npm install --save datatables.net-fixedcolumns-dt

.angularcli.json

"styles": [
"src/styles.css",
"node_modules/datatables.net-dt/css/jquery.dataTables.css",
"node_modules/datatables.net-fixedcolumns-dt/css/fixedColumns.dataTables.css"
],
"scripts": [
"node_modules/jquery/dist/jquery.js",
"node_modules/datatables.net/js/jquery.dataTables.js",
"node_modules/datatables.net-dt/js/dataTables.dataTables.js",
"node_modules/datatables.net-fixedcolumns-dt/js/fixedColumns.dataTables.js"
]


Viewing all articles
Browse latest Browse all 82053

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>