Buttons and responsive bug(?)
Buttons and responsive bug(?)
Howdy,
The responsive and button extension with the option 'columnsToggle' causes a bit of a funny bug.
If you hide the column using the 'columnsToggle' buttons and then resize the table, the glyphicon that appears in the first column does not show the responsive hidden column when clicked (I'm guessing its because the toggle button has set the column attribute to hidden). I suppose that's fine and expected but it seems like a bug to me.. bear with me and read on!
The problem with this is that the red glyphicon still gets shown and the loop to toggle back to the green glyphicon gets broken.(again assuming it is looking for the not hidden attribute before setting it again). This means when clicking the red glyphicon it will not show the green glyphicon again which results in a little bug. To fix it you have to set the column toggle button to remove the hidden attribute and click the button manically to get it back to its default green state!
Hopefully that makes sense!
All my best,
Nanaki
Replies
Hi @Nanaki,
On your first point in the second paragraph, I disagree, sorry. I'd say that if you've hidden the column, you wouldn't expect it to be shown when Responsive columns are displayed.
But, yep, I'd agree that there's a bug with it staying green, I'll get it raised and linked to this thread.
For prosperity, to reproduce the problem, go to this example:
Cheers,
Colin
Thank you Colin. Sorry for the wall of text! I'm going to borrow your format for bug reporting which will hopefully make me clearer in the future.
All my best,
Nanaki