-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hiding column #2468
Comments
@krisrajz Please double check the documentation: http://bootstrap-table.wenzhixin.net.cn/documentation/ |
My table does not have any column menu list |
@krisrajz please provide a fiddle |
@wenzhixin |
I think it does not support manipulate multiple columns. @lanten |
It does not work for me, hence I am trying to set columns and data fields dynamically. I have set columns this way: but not sure how to set data field? |
Please provide a jsFiddle to show your problem, thanks! |
http://jsfiddle.net/djhvscf/e3nk137y/7585/ (created by djhvscf some time ago for me, thanks djhvscf) Or, is there a way to define the columns during runtime? |
Do you mean |
I just want to select hide a particular column programmatically upon user choose different options. Only one boostrap table is used as almost all the columns are same except one column. Depending on the user's choice I want to hide the column. Since hideColumn does not work for me, I would like to know other workarounds such as defining columns based on user choice using juqery. I don't want to define columns this way: Category ReportI want to define them somewhere here: $('#tblSearch').bootstrapTable("destroy").bootstrapTable( |
|
I am looking out for something like this: I do not know how to use refreshOptions |
Is there a way to dynamically hide/unhide a column using jquery?
The text was updated successfully, but these errors were encountered: