Export disable property
rauntska opened this issue · 4 comments
rauntska commented
Hello,
Thanks for the great work done with this!
I've got a question though. Im using the CSV,Excel,PDF export buttons. I have a hidden column which i must have, but i dont want to export. Is there some property attribute which skips the export for a particular property ?
[DataTables(Visible = false)]
public VACATIONS Vacation { get; set; }
Thanks!
mcintyre321 commented
I'm not sure... You'll have to look up the docs for datatables and the
visibility and for export plugins.
If you find how to do it in JavaScript we can extend the library to use
those settings.
…On Tue, 27 Mar 2018, 18:58 rauntska, ***@***.***> wrote:
Hello,
Thanks for the great work done with this!
I've got a question though. Im using the CSV,Excel,PDF export buttons. I
have a hidden column which i must have, but i dont want to export. Is there
some property attribute which skips the export for a particular property ?
[DataTables(Visible = false)]
public VACATIONS Vacation { get; set; }
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#171>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAQ0-mfDfK5wv6l1nbmKWvZlbo5kor7Xks5tin3IgaJpZM4S9X1m>
.
rauntska commented
Found it [DataTablesExclude] does the trick.
[DataTablesExclude]
[DataTables(Visible = false)]
public VACATIONS Vacation { get; set; }
mcintyre321 commented
It's been a while since I've used the library! Glad to see you're getting
on with it. Are you using it with mvc5 or core?
…On Tue, 27 Mar 2018, 20:50 rauntska, ***@***.***> wrote:
Found it [DataTablesExclude] does the trick.
[DataTablesExclude]
[DataTables(Visible = false)]
public VACATIONS Vacation { get; set; }
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#171 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAQ0-h7epX7x2oOBuXGuK3SvNPSFxNuhks5tipf-gaJpZM4S9X1m>
.
rauntska commented
Hey,
using it with MVC5. Works great :) !
I like the paging feature especially. Super easy implementation and usage.