bootstrap-table-contextmenu icon indicating copy to clipboard operation
bootstrap-table-contextmenu copied to clipboard

When using the Reorder Rows plugin, context menu passes wrong row

Open dberke711 opened this issue 9 years ago • 0 comments
trafficstars

When the onContextMenuItem function is called, the row parameter contains the wrong row. I suspect it is identifying the row based on its index in the data array, rather than identifying it based on the

element. Since the Reorder Rows plugin modifies the order of the elements (and not the data array), this causes the context menu to pick the wrong row.

dberke711 avatar Mar 10 '16 19:03 dberke711