11066 : So far it looks great, but I have not been able to change the row height?

Question

We are evaluating your phGantX component for use in visualizing info from a time & attendance app.  So far it looks great, but I have not been able to change the row height.  We need to make them taller since we need to draw a time bar and several markers underneath.  However, using the SetRowHeightGrid does nothing, and the GetRowHeightGrid always return zero.  Please advice.

 

Answer

Make sure you set IphGantX3.UseGrid=true, “Set this to true to use the grid instead of the tree. You must do this before adding any rows since all rows added are owned by the component (grid or tree) that is active when the row is created.”

 

If IphGantX3.UseGrid=false the comctrl treeview is used, and this cannot handle rowheights, columns etc

 

The Grid is fully hierarcical and can do everything the old tree can.