css - Hiding column in print out from IE9 -


in our application have webgrid reference column never shown. column hidden via css, , works fine major browsers. when printing though, hiding column same way in our print.css in main.css, column hidden in chrome, firefox , ie through ie8, shows in ie9.

even more annoying, using developer tools, if switch both browser mode , document mode ie8, print works, , switching both ie9, print out hides column correctly. correct behavior persists until close out of ie entirely. know has switched ie9 mode though because formatting changes between versions. reason, expected behavior shows after switching ie9 mode older mode.

here's css i'm using hide column (it's 11th column in webgrid):

#gridrequestmanagement table tr th + th + th + th + th + th + th + th + th + th + th {     width:0 !important;     display:none !important; } 

anybody have insights on what's going on here?

thanks in advance!

this never possible resolve in above manner, , seems others have found same issue , come same conclusion. work around issue, removed last column of webgrid , added value column hidden value on column reference. way able grid behave consistently in ie9.


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

c++ - Clear the memory after returning a vector in a function -

erlang - Saving a digraph to mnesia is hindered because of its side-effects -