Buttons "Print" get source class from thead node

Buttons "Print" get source class from thead node

btreebtree Posts: 99Questions: 14Answers: 11

Hi,

I want to use the same column width on my print table as the source table and maybe other css styles.

A the moment the print table <thead> is build like this:

        if ( config.header ) {
            html += '<thead>'+ addRow( data.header, 'th' ) +'</thead>';
        }

Is it possible / good idea to change the plugin to something like this?

        if ( config.header ) {
            html += '<thead width='+data.header().width+' class='+data.header().className+'>'+ addRow( data.header, 'th' ) +'</thead>';
        }

Do not know if more people want a feature like this.

Cheers
Hannes

This discussion has been closed.