I am using a cDbCjGrid with columns whose index can change depending on how it is constrained
(eg table shipment
index.1 <StartDate> <Recnum>
index.2 <CustomerId> <StartDate> <Recnum>)
I am able to change the index for the column
I Rebuild_Constraints in Shipment_DD

I want to simulate the user clicking on the CustomerID column then clicking on the StartDate column after I have changed the constraints.

Any thoughts would be appreciated.

Thanks