Keep collection open [optionally]
Keep collection open [optionally]
tomaz
Posts: 2Questions: 0Answers: 0
I might be missing something but as far as I can see click on TableTools (collection member) button triggers collection hide unconditionally. As this is not always desired behavior it would be nice to have option to keep collection open.
To "fix" it for all button types single line could be added in beginning of TableTools.prototype._fnCollectionHide function (cca. line 1425 )
[code]
if (oConfig && oConfig.bKeepCollection) return;
[/code]
and you have the option to set bKeepCollection flag to true, if you wish that button does not hide the collection. It works for me so far, but didn't test it in different scenarios.
To "fix" it for all button types single line could be added in beginning of TableTools.prototype._fnCollectionHide function (cca. line 1425 )
[code]
if (oConfig && oConfig.bKeepCollection) return;
[/code]
and you have the option to set bKeepCollection flag to true, if you wish that button does not hide the collection. It works for me so far, but didn't test it in different scenarios.
This discussion has been closed.
Replies
Regards,
Allan