Multi-column layout

Multi-column layout

LapointeLapointe Posts: 430Questions: 81Answers: 4

Hi @allan @all
Hope everybody is fine

Little question...

when using Multi-column layout style (https://editor.datatables.net/examples/styling/columns for example) is there a way to hide a field (editor.hide('fld')) while keeping space previously occupied by the visible field, (placing an empty space directly in place off) not resetting other inputs pos ?

I know.. it's a strange idea, but...

Thanks

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,214Questions: 1Answers: 10,415 Site admin
    Answer ✓

    You can do that with CSS's visibility option:

    $(editor.field('name').node()).css('visibility', 'hidden');
    

    Allan

  • LapointeLapointe Posts: 430Questions: 81Answers: 4

    Hi @allan
    Too much...

    Thanks
    Bob

This discussion has been closed.