Question
We are working with the phgantTime30 control as an scheduler. I was wondering if there is any property or something that allows me to change the grid’s columns’ order in runtime.
Something like selecting the column and dragging it to another position in the grid.
Answer
When you use the phSchema: You can call IphSchemaX3.Columns.Move to throw columns around, but there is no interaction to let the user do this implemented. You would need to do that with OnMouseDown etc yourself.
When you use the phGant and the grid within: In the activex version you need to use GridColumnInsert and GridColumnRemove. This is not ideal and the VCL version allows for much more functionality not currently exposed…