PDA

View Full Version : Change group field while drag-and-dropping records in grouping grid



Luixo
10 Feb 2015, 3:18 AM
Hello.
I want to change group of the record while drag-and-dropping it over the grid.
I made a fiddle (thanks to manjunathub for example, i forked from): https://fiddle.sencha.com/#fiddle/i02 as an example. I move records successfully, but border records detect the after/before items slightly incorrect. What methods should i modify to change that behaviour?
Also, i implemented empty groups by placeholder items (thanks for http://www.sencha.com/forum/showthread.php?74328 thread). Is that proper in extjs 5? Or I missed some config option for this? Maybe i can override a list of groups from store different from current grid store?