th = style.visibility="hidden";

th = style.visibility="hidden";

itassetsitassets Posts: 17Questions: 1Answers: 0
edited April 2014 in General
I've got a table with 2 th but need one of them to be set to visible = hidden. Is it possible?

Replies

  • tangerinetangerine Posts: 3,365Questions: 39Answers: 395
    http://datatables.net/release-datatables/examples/basic_init/hidden_columns.html
  • itassetsitassets Posts: 17Questions: 1Answers: 0
    Tnx but I meant the full th row not just one column sort of
  • allanallan Posts: 63,689Questions: 1Answers: 10,500 Site admin
    I don't really understand the question or use case, but is `$('#example thead tr:eq(1)').css('display', 'none');` what you want?

    Allan
  • itassetsitassets Posts: 17Questions: 1Answers: 0
    That is ok, It's working now. Tnx Allan
This discussion has been closed.