FunnyBlue Posted December 14, 2012 Share Posted December 14, 2012 Hi all, I have read some topics about column sorting is not working when using clicking column title method. It works on VCL app mode, but not work on web browser mode, after first clicking. I solved this problem like this way: procedure TFListe.UniDBGridListeCDSTitleClick(Column: TUniDBGridColumn); begin UniMainModule.ListeCDS.DisableControls; try UniMainModule.ListeCDS.IndexFieldNames:= Column.FieldName; UniMainModule.ListeCDS.First; Self.UniDBGridListeCDS.Refresh; finally UniMainModule.ListeCDS.EnableControls; end; end; I use ClientDataSet (named ListeCDS in code above) for caching data on server. Regards. Hur AKDULGER Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.