DT 10 - Columns export

DT 10 - Columns export

deliatordeliator Posts: 95Questions: 1Answers: 0

Hi,

My question is about masked column when exporting the table.
(I use custom buttons)
Actually i use the option :visible, but i need to export a masked column too in excel filetype.

Is there a way to do this ?

Help appreciate :-)

Replies

  • allanallan Posts: 63,075Questions: 1Answers: 10,384 Site admin

    I'm afraid I don't understand. You say you are already using a mask with :visible, but I guess that isn't removing all the columns you want, or it is removing too many? Either way, the answer is to change that selector to get only the columns you want to export.

    Allan

  • deliatordeliator Posts: 95Questions: 1Answers: 0

    Thanks Allan,

    In fact, i have 2 columns using the same data, first one display a european format (12,25) second one use (12.25) as decimal format.
    Of course I display the european and the otherone is masked.
    But for the excel export i need the UK format ...
    (note: i have 5 colums to export)
    Following your suggestion, how do i selecting the rows instead of using the :visible switch ?

    Thanks

  • allanallan Posts: 63,075Questions: 1Answers: 10,384 Site admin

    The column-selector documentation details all the selector options available for columns. The easiest would be just to have an array of column indexes.

    Allan

  • deliatordeliator Posts: 95Questions: 1Answers: 0

    Thank you Allan.

This discussion has been closed.