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 actually playing with it, and I wonder if there is an option to hide a column in data table. I know you can using the visible option https://datatables.net/reference/option/columns.visible but I can't get to make it work with pyxley.
I know this isn't the best place to post request for support, but I haven't found any where else to go!
Thanks!
The text was updated successfully, but these errors were encountered:
Sorry for the late reply. You can actually hide columns using the initComplete keyword. You can pass it a javascript function to run after the table is initialized like in the DataTables example.
Something like
init_func= (
""" var api = this.api(); api.column(0).visible(false); """)
When you pass that to the DataTables constructor it sends it through to the React code as a string. The javascript then turns the string into a function and executes it after the table initializes.
Hey - first of all thanks for kicking this off!
I'm actually playing with it, and I wonder if there is an option to hide a column in data table. I know you can using the visible option https://datatables.net/reference/option/columns.visible but I can't get to make it work with pyxley.
I know this isn't the best place to post request for support, but I haven't found any where else to go!
Thanks!
The text was updated successfully, but these errors were encountered: