You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to export the content of a table which first column cells have only a checkbox input. So, I would like to exclude that first column of exportation.
However, that's not that easy as mColumns: [1, 2], because from the rest of columns I only want the visible ones to get exported and, as far as I know, I can't use both mColumns string and array notation at the same time.
For my purpose I would need a mDeselectColumns to do something like that:
mColumns: 'visible',
mDeselectColumns: [0]
I think my situation may be quite common, because a lot of CRUD generator automatically create that kind of action columns, and if you want to add some other dynamism as column hiding I think right now you don't have a way to go.
Thanks a lot for this amazing plugin!
The text was updated successfully, but these errors were encountered:
This sounds like a good idea. We could end up with a case where someone has both enabled and disabled a column from export, but that would be a configuration error I'd say.
So yes, I'll look at including this in a future version of TableTOols. Perhaps v3 once DataTables 1.10 is done.
Hi,
I'm trying to export the content of a table which first column cells have only a checkbox input. So, I would like to exclude that first column of exportation.
However, that's not that easy as
mColumns: [1, 2]
, because from the rest of columns I only want the visible ones to get exported and, as far as I know, I can't use both mColumns string and array notation at the same time.For my purpose I would need a
mDeselectColumns
to do something like that:I think my situation may be quite common, because a lot of CRUD generator automatically create that kind of action columns, and if you want to add some other dynamism as column hiding I think right now you don't have a way to go.
Thanks a lot for this amazing plugin!
The text was updated successfully, but these errors were encountered: