I use table with data-mode="columntoggle" no problem alone.
However, click columntoggle button will close app when page contains panel. for RhoStudio 5.1.1.
But it's work for RhoStudio 4.0.
My environment:(use default javascript)
RhoStudio 5.1.1.
jQuery 1.9.1
jQuery Mobile 1.3.1
My erb code is:
Toggle with Panels fail
Options
Close menu
Rank
Movie Title
Year
Rating
Reviews
1
Citizen Kane
1941
100%
74
2
Casablanca
1942
97%
64
3
The Godfather
1972
97%
87
4
Gone with the Wind
1939
96%
87
5
Lawrence of Arabia
1962
94%
87
1 Replies
What device are you using? Or what simulator?
There should be no difference between RhoStudio 4.0 and 5.1.1 with this - it is just jQuery Mobile.
However, jQuery Mobile 1.3.1 is quite out of date now, and shouldn't be expected to work correctly with the latest devices. And, so, if you are starting a new project and using jQuery Mobile, you should update to 1.4.5.
Unfortunately, that might be a big job if you have an existing app, since there are a lot of breaking changes from jQuery Mobile 1.3.1 to 1.4.5.