I have a grid with some dropreceive definition for the complete grid, as well as some rowdropreceive and rowdragsend definition for the rows. Example:
dropreceive=#{d.myBean.dropReceive}
rowdropreceive=#{d.myBean.dropReceive}
rowdragsend=#{d.myBean.dragsEnd}
I wanted to disable drag and drop in case the grid is in "disabled mode". Therefore I use server side properties which check if the grid should be in disabled mode:
public String getDropReceive() { return getVo().getEditable() ? "task" : null; }
public String getDragsEnd() { return getVo().getEditable() ? "task:row" : null; }
This works perfectly well for the blank spaces in the grid, but I could still drop elements on the grid items.
Is it possible that disabling this drag&drop does not work for the row elements?
I think, this makes sense...: the enabled-management is on grid-level, the rowdropreceive-managemnent as well. So it's consistent with the normal drag-drop which is also disabled when the component is disabled.