stacktable.js | jQuery plugin for stacking tables on small screens | Grid library
kandi X-RAY | stacktable.js Summary
kandi X-RAY | stacktable.js Summary
The Responsive Tables jQuery plugin for stacking tables on small screens. The purpose of stacktable.js is to give you an easy way of converting wide tables to a format that will work better on small screens. It creates a copy of the table that is converted into a 2-column key/value format. For more info, go to the project page.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of stacktable.js
stacktable.js Key Features
stacktable.js Examples and Code Snippets
Community Discussions
Trending Discussions on stacktable.js
QUESTION
So I'm using stackable.js (http://johnpolacek.github.io/stacktable.js/) for responsive tables and I have run across an issue with a click function I am using on an element located inside the table. The function works fine when viewed at full width on the desktop but as soon as the table is stacked via stackable.js my function no longer registers the click. I have determined this is definitely a conflict with stackable.js but not exactly sure what is preventing the functioning to trigger.
I know that stackable adds its own classes once it has collapsed, however, I am not sure this is what the issue is?
If anyone has any insight on what the issue may be please share your thoughts. Much appreciated.
Here is the Jquery function I'm hoping to get to work on the stacked table:
...ANSWER
Answered 2017-Apr-04 at 16:49Thanks @ItsGreg for pointing me in the right direction.
It was due to a CSS specificity conflict with stackable.js. By declaring $('body').on('click', '.product table span.star', function() {..} you are able to work around the issue.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install stacktable.js
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page