Callback function when using Responsive plugin

Callback function when using Responsive plugin

WilshireWilshire Posts: 7Questions: 5Answers: 0

I added the Responsive plugin to my project, and am extremely impressed with how easy it made rendering on smart devices. At first I had a few minor styling issues, but they were easy to fix. The problem I'm running into is some code that runs when the rowCallback function fires. I grab the date-time values of two columns and convert them to the user's current time zone. I just use the row param and jQuery to find the span each date is in, do my conversion, and assign it to the span. This doesn't work when the child row is generated as the table shrinks and columns disappear. The plugin is generating a new row with a class "child", and this doesn't trigger the rowCallback function, so my conversion code doesn't run. I looked over the API and didn't see a solution. I need to intercept the show event of the child row and run my code - any suggestions?

Answers

This discussion has been closed.