ColVis styling
ColVis styling
ColVis is a great idea, but hard to play with style. I start following but all other style are calculated.
[code]
li.ColVis_Button.TableTools_Button {
display: inline;
float: left;
}
[/code]
There is a way to change the drip down menu to ui modal dialog or a simple div wo take 100% of the page with all li + lable float left ?
Thanks,
Mike
[code]
li.ColVis_Button.TableTools_Button {
display: inline;
float: left;
}
[/code]
There is a way to change the drip down menu to ui modal dialog or a simple div wo take 100% of the page with all li + lable float left ?
Thanks,
Mike
This discussion has been closed.
Replies
What you might consider doing, if you do want a modal, is to effectively recreate ColVis. All ColVis is is a UI display wrapper around DataTables' built in fnSetColumnVis API method - which will show and hide columns as needed. So in theory all that is needed is a list of the columns, populate a list in a modal and you've got your very own ColVis.
In future ColVis is going to be folded into TableTools, as that will give much great control over the styling and markup used. Should also reduce code overhead since TableTools already provides much of the code needed to build the buttons etc.
Allan