"bVisible": false not work in IE11 Preview and DataTables 1.10.0-dev
"bVisible": false not work in IE11 Preview and DataTables 1.10.0-dev
tstar
Posts: 36Questions: 0Answers: 0
DataTables 1.10.0-dev
"aoColumnDefs": [
{ "aTargets": [0], "mData": "Test", "sDefaultContent": false, "bSortable": false, "bSearchable": false, "bVisible": false },
....
]
This colunn always visible in IE11 Preview, in other (not IE) browsers his work fine.
"aoColumnDefs": [
{ "aTargets": [0], "mData": "Test", "sDefaultContent": false, "bSortable": false, "bSearchable": false, "bVisible": false },
....
]
This colunn always visible in IE11 Preview, in other (not IE) browsers his work fine.
This discussion has been closed.
Replies
Allan
Allan
"sDefaultContent", "bSortable", "bSearchable" has the same problem with cookies that "bStateSave"?
No - the state storage (its localStorage in DT 1.10, not a cookie) will take priority. If the column initialisation took priority, then there would be no point in using state storage since it would never be used - the initialisation would always be used!
Allan
[code]
Uncaught TypeError: Object # has no method 'replace' jquery.dataTables.js:13600
_stripHtml jquery.dataTables.js:13600
_htmlNumeric jquery.dataTables.js:13607
(anonymous function) jquery.dataTables.js:13638
_fnColumnTypes jquery.dataTables.js:472
_fnSort jquery.dataTables.js:3918
_fnReDraw jquery.dataTables.js:1604
_fnSortListener jquery.dataTables.js:4124
(anonymous function) jquery.dataTables.js:4155
[/code]
[code]
var _stripHtml = function ( d ) {
return d.replace( _re_html, '' );
};
[/code]
Regading the visibility - I'm sorry this cost you time. I'm not sure how it can really be solved to be honest. If aoColumns / aoColumnDefs were used over the state saved options, then the saved state would never be used, and having it at all would be fairly pointless. I will look at adding a 'reset' option into DataTables though which might possibly help in future.
Allan
Oh sorry. I have remade the algorithm, excluding the hidden column. Now I directly save a hidden value in the data source. This has solved all the previous problems, except for the problem with the fnGetPosition on another page.