Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > DB-Aware

Lost Password?

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-19-2008, 01:55 AM
shamusvw shamusvw is offline
Senior Member
 
Join Date: Dec 2006
Posts: 103
Default Sort dbGrid not working

Hi

I have the following code

[DELPHI]
procedure TmainForm.timesDBGridTitleClick(Column: TColumn);
begin
timesDataModule.timesClientDataSet.IndexFieldNames := Column.FieldName;
end;
[/DELPHI]

but when I click on the title, it doesn't get sorted?
When I check the value of the IndexFieldName after each click, it is updating, just not sorting.

Can someone offer advice?

Thanks
Shaun
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:20 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.