-
Notifications
You must be signed in to change notification settings - Fork 1
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
"Clicking on row" ... does not work for me ... #1
Comments
This gem is WIP, I don't remember but I think I didn't finish extended_columns feature. Controller code is there, it should display extended columns if request has extended and id params, but there is no code to make request with extended param. |
Something like this crossed my mind, yes; there was so few code :-) |
I rather keep open until it's done |
I don't remember how I was thinking to do this, probably overriding as_main_div_class to add as_phone or as_tablet class: def as_main_div_class
classes = super
classes << ' as_phone' if is_mobile_device?
classes << ' as_tablet' if is_tablet_device?
classes
end Then, adding a js file to bind click event on row and make js request with extendend and id params. If you're interested you could try it and send pull request |
Oh, row.js.erb should be added to this gem to do something different if extended param is present |
Displaying differently on phone and desktop is no problem, but the following does not work for me:
My config: ruby 2.3.1, rails 5.0.0.1, active_scaffold 3.4.41.1 fdd479d, active_scaffold_mobile 0.1.0 75952d3
Any suggestions?
The text was updated successfully, but these errors were encountered: