Hi all,
I am building a grid that is not multi-select, with row drag and drop enabled, using the .sortableRows() function.
The problem is that when I have a selected row, and I drag another row that is not the selected one, when I finish dragging it to its detination and select it, the previous selected one remains highlighted, and the new selected one is also highlighted.
When I use 'jQuery(“#grid_sched1”).getGridParam(“selrow”)' it returns the newest selected (and highlighted) row, as it should.
This problem happens only when I drag the row 'through' the highlighted one. It looks like maybe it forgets or gets confused as to which row is highlighed and does not un-highlight it.
For testing I am using jquery 1.4.2, jquery ui 1.81, jqgrid 3.6.5.
I had the same problem using jqgrid 3.4.1 using tablednd. (this is why I did a test on the latest versions).
Does anyone have an idea on how I can fix this?
Thanks and best wishes to all!
here is the code to create the grid.
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top