We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Grid Sorting with Table in a Grid Column

Developer Preview

TJ Draper's avatar
TJ Draper
222 posts
8 years ago
TJ Draper's avatar TJ Draper

I’m having a problem with my field type in Grid. My field type produces its own table. When you drag a Grid row and that Grid row gets over the top of my table in my field, the Grid row will go into my table and can be dropped there. This causes all hell to break loose as you might imagine.

Is there a way Grid’s sorter can be tightened up with specific classes or targets or something?

The sorter I use in my fieldtype has options for specifying specific targets and selectors.

Here’s a quick video of the issue in action. I disabled my sorter for the demo to make sure the problem is not my sorter.

Video of Issue in Action

       
Kevin Cupp's avatar
Kevin Cupp
791 posts
8 years ago
Kevin Cupp's avatar Kevin Cupp

Hey TJ sorry about that. Could you try replacing the contents of themes/ee/asset/javascript/src/jquery/plugins/ee_table_reorder.js with this: http://pastebin.com/raw/T9gcVkWk

       
Kevin Cupp's avatar
Kevin Cupp
791 posts
8 years ago
Kevin Cupp's avatar Kevin Cupp

Ah hang on, the pastebin disappeared. Try this: https://dl.dropboxusercontent.com/u/28047/ee_table_reorder.js

       
TJ Draper's avatar
TJ Draper
222 posts
8 years ago
TJ Draper's avatar TJ Draper

Ahh, that seems to do the trick!

       
Kevin Cupp's avatar
Kevin Cupp
791 posts
8 years ago
Kevin Cupp's avatar Kevin Cupp

Sweet, easy change. Will commit for next release!

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.