Sorry for the questions storm!
I have a requirement to prevent purchase order line item modification but still allow set/clear a flag per row (for subsequent processing). I have this all working. Due to the need to still monitor PurchaseOrderForm_LinesJiwaGrid_CellClick, I couldn't toggle the .Enabled property, so instead I have been able to lock the columns ...
- Code: Select all
Dim grid = DirectCast(_purchaseOrderForm.MainUltraTabControl.Tabs("Order").TabPage.Controls.Item("LinesJiwaGrid"), JiwaGrid)
For Each col As Column In grid.ActiveSheet.Columns
If Not col.Tag.ToString().StartsWith("UserDefined") Then grid.LockColumn(lock, col.Tag)
Next
This all works well, but I still need to disable the right-click row insert functionality ...
I can't quite see how to do this?
Cheers,
Neil


