Feb 01, 2016, 6:08 PM
[OPEN] [#1250] [3.2.1] CelllDragDrop should override Enable property
Support,
I found that in this code p.Enabled=false does nothing. This is wrong in my opinion. I was required to cast to disable at the subclass level.
I would recommend an Override at the CelllDragDrop level so that if i call p.Enabled, the override first calls super AND then enables/disables the EnableDrag and EnableDrop property automatically.
Thanks,
/Z
I found that in this code p.Enabled=false does nothing. This is wrong in my opinion. I was required to cast to disable at the subclass level.
I would recommend an Override at the CelllDragDrop level so that if i call p.Enabled, the override first calls super AND then enables/disables the EnableDrag and EnableDrop property automatically.
Thanks,
/Z
foreach (Plugin p in GridView1.Plugins)
{
if (p.ID == "CellDragDrop1")
{
p.Enabled = false;
((CellDragDrop)p).EnableDrag = false;
((CellDragDrop)p).EnableDrop = false;
}
}